test
This commit is contained in:
@@ -3,19 +3,16 @@ services:
|
||||
image: back:latest
|
||||
container_name: wedding-site
|
||||
volumes:
|
||||
- wedding_volume:/home/backend/server/backend/database/DB/guests.db
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /home/sevice/DB:/home/backend/
|
||||
ports:
|
||||
- "${PORT}:${PORT}"
|
||||
networks:
|
||||
- wedding-site-network
|
||||
healthcheck:
|
||||
test: "curl -f http://localhost:${PORT}"
|
||||
test: "curl -f http://localhost:${PORT}/docs"
|
||||
interval: 5s
|
||||
timeout: 30s
|
||||
retries: 1
|
||||
networks:
|
||||
wedding-site-network:
|
||||
driver: bridge
|
||||
volumes:
|
||||
wedding_volume: {}
|
||||
Reference in New Issue
Block a user