Fix initializing postgres on first startup (#153)
This commit is contained in:
parent
ab8b5e3786
commit
3ba6bc3224
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user