chore: update postgres in compose stack
This commit is contained in:
parent
d5fcc5d660
commit
4c4d9796f5
|
@ -1,18 +1,17 @@
|
||||||
version: "3.9"
|
version: "3.9"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgresql:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
volumes:
|
||||||
|
- postgres_data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: libretime
|
POSTGRES_USER: libretime
|
||||||
POSTGRES_PASSWORD: libretime
|
POSTGRES_PASSWORD: libretime
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready"]
|
test: pg_isready -U libretime
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
image: rabbitmq:management-alpine
|
image: rabbitmq:management-alpine
|
||||||
|
@ -23,3 +22,6 @@ services:
|
||||||
RABBITMQ_DEFAULT_VHOST: /libretime
|
RABBITMQ_DEFAULT_VHOST: /libretime
|
||||||
RABBITMQ_DEFAULT_USER: libretime
|
RABBITMQ_DEFAULT_USER: libretime
|
||||||
RABBITMQ_DEFAULT_PASS: libretime
|
RABBITMQ_DEFAULT_PASS: libretime
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres_data: {}
|
||||||
|
|
Loading…
Reference in New Issue