rebours/docker-compose.prod.yml
2026-03-12 20:20:56 +01:00

51 lines
996 B
YAML

services:
server:
build:
context: .
dockerfile: Dockerfile
expose:
- '3001'
environment:
- DATABASE_URL
- STRIPE_SECRET_KEY
- STRIPE_WEBHOOK_SECRET
- DOMAIN
- PORT=3001
- ADMIN_EMAIL
- ADMIN_PASSWORD
- COOKIE_SECRET
- NODE_ENV=production
volumes:
- dist-data:/app/dist
networks:
- coolify
- default
restart: unless-stopped
client:
build:
context: .
dockerfile: docker/Dockerfile.client
expose:
- '80'
volumes:
- dist-data:/usr/share/nginx/html:ro
depends_on:
- server
networks:
- coolify
- default
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.rebours.rule=Host(`rebours.studio`)
- traefik.http.routers.rebours.entrypoints=http
- traefik.http.services.rebours.loadbalancer.server.port=80
volumes:
dist-data:
networks:
coolify:
external: true