{"action":"created","issue":{"url":"https://api.github.com/repos/metabase/metabase/issues/8401","repository_url":"https://api.github.com/repos/metabase/metabase","labels_url":"https://api.github.com/repos/metabase/metabase/issues/8401/labels{/name}","comments_url":"https://api.github.com/repos/metabase/metabase/issues/8401/comments","events_url":"https://api.github.com/repos/metabase/metabase/issues/8401/events","html_url":"https://github.com/metabase/metabase/issues/8401","id":354046939,"node_id":"MDU6SXNzdWUzNTQwNDY5Mzk=","number":8401,"title":"Good docker-compose template - help needed for good template - can be added to docs","user":{"login":"steverowland","id":10884579,"node_id":"MDQ6VXNlcjEwODg0NTc5","avatar_url":"https://avatars3.githubusercontent.com/u/10884579?v=4","gravatar_id":"","url":"https://api.github.com/users/steverowland","html_url":"https://github.com/steverowland","followers_url":"https://api.github.com/users/steverowland/followers","following_url":"https://api.github.com/users/steverowland/following{/other_user}","gists_url":"https://api.github.com/users/steverowland/gists{/gist_id}","starred_url":"https://api.github.com/users/steverowland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverowland/subscriptions","organizations_url":"https://api.github.com/users/steverowland/orgs","repos_url":"https://api.github.com/users/steverowland/repos","events_url":"https://api.github.com/users/steverowland/events{/privacy}","received_events_url":"https://api.github.com/users/steverowland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-25T22:06:49Z","updated_at":"2018-08-29T13:43:12Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\n\r\nGot this docker-compose template, based on https://github.com/italia/daf-recipes/blob/master/metabase/docker-compose.yml\r\n\r\nA good docker-compose template seems to be missing in the metabase documentation. \r\n\r\nI wondered why it couldn't be in just 1 docker compose file instead of having the postgres in a seperate build? \r\n\r\nWhen I try this, Metabase says it can't find the user \"metabase\" during startup. Any idea? \r\n\r\nERROR metabase.driver :: Failed to connect to database: org.postgresql.util.PSQLException: FATAL: role \"metabase\" does not exist\r\n\r\n\r\n------------\r\n\r\nversion: '3'\r\nservices:\r\n  db:\r\n      container_name: db\r\n      image: postgres:9.6\r\n      volumes:\r\n       - \"/srv/postgres-data:/var/lib/postgresql/data\"\r\n      ports:\r\n        - \"5432:5432\"\r\n      environment:\r\n      - POSTGRES_DB=metabase\r\n      - POSTGRES_USER=metabase\r\n      - POSTGRES_PASSWORD=SUPERSECRET\r\n\r\n  metabase:\r\n    container_name: metabase-app\r\n    image: metabase/metabase:latest\r\n    volumes:\r\n        - \"/srv/metabase-app:/data\"\r\n    links:\r\n        - db\r\n    ports:\r\n        - \"3000:3000\"\r\n    environment:\r\n      - MB_DB_TYPE=postgres\r\n      - MB_DB_DBNAME=metabase\r\n      - MB_DB_PORT=5432\r\n      - MB_DB_USER=metabase\r\n      - MB_DB_PASS=SUPERSECRET\r\n      - MB_DB_HOST=db"},"comment":{"url":"https://api.github.com/repos/metabase/metabase/issues/comments/416958210","html_url":"https://github.com/metabase/metabase/issues/8401#issuecomment-416958210","issue_url":"https://api.github.com/repos/metabase/metabase/issues/8401","id":416958210,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjk1ODIxMA==","user":{"login":"steverowland","id":10884579,"node_id":"MDQ6VXNlcjEwODg0NTc5","avatar_url":"https://avatars3.githubusercontent.com/u/10884579?v=4","gravatar_id":"","url":"https://api.github.com/users/steverowland","html_url":"https://github.com/steverowland","followers_url":"https://api.github.com/users/steverowland/followers","following_url":"https://api.github.com/users/steverowland/following{/other_user}","gists_url":"https://api.github.com/users/steverowland/gists{/gist_id}","starred_url":"https://api.github.com/users/steverowland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverowland/subscriptions","organizations_url":"https://api.github.com/users/steverowland/orgs","repos_url":"https://api.github.com/users/steverowland/repos","events_url":"https://api.github.com/users/steverowland/events{/privacy}","received_events_url":"https://api.github.com/users/steverowland/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T13:43:12Z","updated_at":"2018-08-29T13:43:12Z","author_association":"NONE","body":"Hi Jorn, that's really helpful example. That one also has the nginx setup too. \r\n\r\nI'll try that and when it works I'll mail it as a suggestion to the metabase people for their documentation. Thanks for the styling tip too:)\r\n\r\n"}}
{"actor":{"display_login":"steverowland"}}