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-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: