0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00

Merge pull request #466 from 14MR/fix/postgres_credentials

Set default password for postgres in docker-compose.yml
This commit is contained in:
Tim Glaser 2020-04-07 10:35:31 +01:00 committed by GitHub
commit 3df296bfa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ services:
environment:
POSTGRES_USER: posthog
POSTGRES_DB: posthog
POSTGRES_PASSWORD: posthog
web:
image: posthog/posthog:latest
container_name: posthog_web
@ -14,7 +15,7 @@ services:
- "8000:8000"
environment:
IS_DOCKER: "true"
DATABASE_URL: "postgres://posthog@db:5432/posthog"
DATABASE_URL: "postgres://posthog:posthog@db:5432/posthog"
SECRET_KEY: "<randomly generated secret key>"
depends_on:
- db