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