top-tran/backend/docker-compose.development.yml

28 lines
611 B
YAML
Raw Permalink Normal View History

2026-05-03 21:25:37 -03:00
version: '3.8'
services:
backend:
build:
context: .
dockerfile: Dockerfile
args:
- NODE_ENV=development
- PORT=4000
image: toptran-backend:development
container_name: toptran-backend-development
restart: unless-stopped
ports:
- "4000:4000"
env_file:
- .env.development
environment:
- NODE_ENV=development
volumes:
- ./logs:/app/logs
healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:4000/sync/companies"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s