services: postgres: image: postgres:16-alpine container_name: cms-postgres-production restart: unless-stopped environment: POSTGRES_DB: cms_production POSTGRES_USER: cms POSTGRES_PASSWORD: cms_production_password ports: - "65432:5432" volumes: - cms-postgres-production-data:/var/lib/postgresql/data web: build: context: . dockerfile: apps/web/Dockerfile container_name: cms-web-production restart: unless-stopped depends_on: - postgres environment: DATABASE_URL: postgresql://cms:cms_production_password@postgres:5432/cms_production?schema=public NODE_ENV: production ports: - "5100:3000" admin: build: context: . dockerfile: apps/admin/Dockerfile container_name: cms-admin-production restart: unless-stopped depends_on: - postgres environment: DATABASE_URL: postgresql://cms:cms_production_password@postgres:5432/cms_production?schema=public NODE_ENV: production ports: - "5101:3001" volumes: cms-postgres-production-data: