platform-marketing-content/docker/docker-compose.prod.yml

50 lines
1.1 KiB
YAML

version: '3.8'
# =============================================================================
# PLATFORM MARKETING CONTENT - Production
# =============================================================================
services:
backend:
image: ${DOCKER_REGISTRY:-72.60.226.4:5000}/pmc-backend:${VERSION:-latest}
container_name: pmc-backend
restart: unless-stopped
ports:
- "3111:3111"
environment:
- NODE_ENV=production
env_file:
- ../apps/backend/.env.production
volumes:
- pmc-logs:/var/log/pmc
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3111/health"]
interval: 30s
timeout: 10s
retries: 3
networks:
- pmc-network
- isem-network
frontend:
image: ${DOCKER_REGISTRY:-72.60.226.4:5000}/pmc-frontend:${VERSION:-latest}
container_name: pmc-frontend
restart: unless-stopped
ports:
- "3110:80"
depends_on:
backend:
condition: service_healthy
networks:
- pmc-network
volumes:
pmc-logs:
networks:
pmc-network:
driver: bridge
isem-network:
external: true
name: isem-network