services: backend: build: ./backend container_name: project-manager-api ports: - "${PORT_BACKEND:-4000}:${PORT_BACKEND:-4000}" environment: - PORT=${PORT_BACKEND:-4000} - PORT_FRONTEND_DEV=${PORT_FRONTEND_DEV:-5173} - APP_URL=${APP_URL:-http://localhost:5173} - CORS_ORIGIN=${CORS_ORIGIN:-http://localhost:5173,http://localhost:4000,null} - WRITE_API_KEY=${WRITE_API_KEY:-} volumes: - db_data:/app/data restart: unless-stopped volumes: db_data: