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