34 lines
727 B
YAML
34 lines
727 B
YAML
services:
|
|
backend:
|
|
container_name: mayo-production-manager-backend
|
|
build:
|
|
context: ./backand
|
|
dockerfile: Dockerfile
|
|
env_file:
|
|
- ./backand/.env
|
|
environment:
|
|
- HOSTS=bartool.ovh,localhost
|
|
- CSRF_TRUSTED_ORIGINS=https://bartool.ovh
|
|
- NODE_ENV=production
|
|
volumes:
|
|
- static_content:/app/staticfiles
|
|
ports:
|
|
- 7090:7090
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
container_name: mayo-production-manager-frontend
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
environment:
|
|
NODE_ENV: production
|
|
volumes:
|
|
- static_content:/static_django
|
|
ports:
|
|
- 7080:7080
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
static_content:
|