This commit is contained in:
2026-02-10 02:06:54 +01:00
parent 5290560d68
commit ef5e98ad5d
29 changed files with 1529 additions and 8 deletions

View File

@ -0,0 +1,44 @@
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: