Fix initializing postgres on first startup (#153)

This commit is contained in:
Astrid 2020-03-05 16:51:35 +01:00 committed by GitHub
parent ab8b5e3786
commit 3ba6bc3224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,8 @@ services:
- "db_data:/var/lib/postgresql/data"
restart: always
command: ["postgres", "-c", "max-connections=1000"]
environment:
- "POSTGRES_PASSWORD=postgres"
influx:
image: influxdb:alpine
volumes:
@ -39,7 +41,7 @@ services:
ports:
- 2839:8086
restart: always
volumes:
db_data:
influx_data: