add
Deploy to Coolify / deploy (push) Successful in 3s

This commit is contained in:
2026-03-20 09:05:08 -03:00
parent 545897e35f
commit c632fc13e6
+18
View File
@@ -0,0 +1,18 @@
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
restart: unless-stopped
env_file: .env
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
ports:
- "${PORT:-8080}:${PORT:-8080}"
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:${PORT:-8080}/health || exit 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s