ludops-skeleton/docker-compose.prod.yml

19 lines
592 B
YAML

# Uses .env file — copy .env.example to .env and fill in your values.
services:
app:
image: ${REGISTRY_IMAGE}:latest
container_name: ludops-${APP_NAME}-app
restart: always
environment:
- NODE_ENV=production
- PORT=3000
- DATABASE_URL=postgres://gitea:gitea@ludops-postgres:5432/${APP_NAME}_db
networks:
- proxy-tier # For Nginx Proxy Manager to find us
- infrastructure_infra-network # For us to find the shared Postgres DB
networks:
proxy-tier:
external: true
infrastructure_infra-network:
external: true