Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/roles/backend/templates/docker-compose.prod.j2
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U {{ backend_db_user }}"]
test: ["CMD-SHELL", "pg_isready -U {{ backend_db_user }} -d {{ backend_db_name }}"]
interval: 10s
timeout: 5s
retries: 5
Expand Down
6 changes: 0 additions & 6 deletions ansible/roles/frontend/templates/docker-compose.prod.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ services:
reservations:
cpus: "0.25"
memory: 256M
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/', (r) => process.exit(r.statusCode === 200 ? 0 : 1))"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s

networks:
guitar0-network:
Expand Down
Loading