17 lines
577 B
YAML
17 lines
577 B
YAML
# Overlay: -f docker-compose.cloud.yml -f docker-compose.https.yml
|
|||
|
|
services:
|
||
|
|
moyi-api:
|
||
|
|
environment:
|
||
|
|
CONTROL_PLANE_CORS_ORIGINS: https://${MOYI_DOMAIN:?Set MOYI_DOMAIN}
|
||
|
|
AUTH_SECURE_COOKIE: true
|
||
|
|
frontend:
|
||
|
|
ports:
|
||
|
|
- "80:80"
|
||
|
|
- "443:443"
|
||
|
|
environment:
|
||
|
|
MOYI_DOMAIN: ${MOYI_DOMAIN:?Set MOYI_DOMAIN}
|
||
|
|
NGINX_ENVSUBST_FILTER: ^MOYI_DOMAIN$
|
||
|
|
volumes:
|
||
|
|
- ./nginx/https-fallback.conf:/etc/nginx/conf.d/default.conf:ro
|
||
|
|
- ./nginx/https.conf.template:/etc/nginx/templates/moyi.conf.template:ro
|
||
|
|
- ./certs:/etc/nginx/certs:ro
|