aboba
This commit is contained in:
10
dev.yml
10
dev.yml
@ -3,12 +3,15 @@ services:
|
||||
build:
|
||||
context: backend
|
||||
ports:
|
||||
- "5000"
|
||||
- "8000"
|
||||
env_file:
|
||||
- path: ./env/backend/dev.env
|
||||
required: true
|
||||
volumes:
|
||||
- ./backend/app:/code/app:z
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
frontend:
|
||||
build:
|
||||
context: frontend
|
||||
@ -36,3 +39,8 @@ services:
|
||||
env_file:
|
||||
- path: ./env/postgres.env
|
||||
required: true
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d db --user user"]
|
||||
interval: 2s
|
||||
timeout: 2s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user