Re-add depends_on

This commit is contained in:
3wc 2022-11-09 07:55:52 -08:00
parent 426793ddf0
commit 57f88942c5
1 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,8 @@ services:
networks: networks:
- proxy - proxy
- internal - internal
depends_on:
- db
deploy: deploy:
restart_policy: restart_policy:
condition: on-failure condition: on-failure
@ -36,8 +38,6 @@ services:
- internal - internal
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
ports:
- '5432:5432'
environment: environment:
POSTGRES_USER: farm POSTGRES_USER: farm
POSTGRES_PASSWORD: farm POSTGRES_PASSWORD: farm