boussole-pluss/docker-compose.yml

29 lines
541 B
YAML
Raw Normal View History

2022-10-03 07:59:21 +00:00
services:
frontend:
build:
context: frontend/
args:
BACKEND_BASE_URL: http://localhost:8080
ports:
- "3000:80"
networks:
- front-tier
- back-tier
# configs:
# - httpd-config
backend:
build: backend/
ports:
- "8080:8080"
volumes:
- ./data:/app/data
environment:
- CORS_ALLOWED_ORIGINS=http://localhost:8080
networks:
- back-tier
networks:
# The presence of these objects is sufficient to define them
front-tier: {}
back-tier: {}