Skip to content

Not working analytics when use docker image (0.12.0) #284

@shaliko

Description

@shaliko

When I start project as Docker container using instructions from http://api-umbrella.readthedocs.io/en/latest/getting-started.html#running-with-docker, the "Analytics" have empty charts. API works OK, but all charts empty. I not found any issue in logs.

My api-umbrella.yml file:

services:
  - general_db
  - log_db
  - router
  - web
web:
  admin:
    initial_superusers:
      - [email protected]
    auth_strategies:
      enabled:
        - github
        - google
        - persona
      github:
        client_id: xxx
        client_secret: xxx
      google:
        client_id:
        client_secret:
elasticsearch:
  hosts:
    - http://127.0.0.1:14002
mongodb:
  url: mongodb://127.0.0.1:14001/api_umbrella
nginx:
  workers: 4
gatekeeper:
  workers: 4
hosts:
  - hostname: apinf.usubov.com
    default: true

I can test my backend:

$ curl --insecure "https://apinf.usubov.com/maps/api/geocode/json?api_key=hwBrTpoJhHwMszx904lDOjKZgDoD1oAX5aTJNVEr&address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=AIzaSyDc97a13NBkefRoq6e5v2FpIyjEBS1rkl0"

Empty charts:
api_umbrella_admin_and_heiaheia_ -bash _127x34

I can test that Elasticsearch works:

root@c5378d2bcfc9:/# curl http://127.0.0.1:14002                         
{
  "status" : 200,
  "name" : "Lady Mastermind",
  "cluster_name" : "api-umbrella",
  "version" : {
    "number" : "1.7.5",
    "build_hash" : "00f95f4ffca6de89d68b7ccaf80d148f1f70e4d4",
    "build_timestamp" : "2016-02-02T09:55:30Z",
    "build_snapshot" : false,
    "lucene_version" : "4.10.4"
  },
  "tagline" : "You Know, for Search"
}

Any advice where I should find issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions