fix(coolify): add Traefik routing labels, coolify network, and zero-cache CDN headers

This commit is contained in:
khondokartowsif171
2026-09-05 06:28:26 +06:00
parent 9b1ec81647
commit 5ec264c8bc
2 changed files with 41 additions and 13 deletions
+21 -4
View File
@@ -2,10 +2,27 @@ version: '3.8'
services:
opal-ios-studio:
build: .
restart: always
build:
context: .
dockerfile: Dockerfile
container_name: opal-ios-studio
ports:
- "80"
restart: always
environment:
- NODE_ENV=production
- PORT=80
networks:
- coolify
labels:
- "traefik.enable=true"
- "traefik.http.routers.opal-studio-http.entrypoints=http"
- "traefik.http.routers.opal-studio-http.rule=Host(`opal.auraajenticai.cloud`)"
- "traefik.http.routers.opal-studio-http.middlewares=redirect-to-https"
- "traefik.http.routers.opal-studio-https.entrypoints=https"
- "traefik.http.routers.opal-studio-https.rule=Host(`opal.auraajenticai.cloud`)"
- "traefik.http.routers.opal-studio-https.tls=true"
- "traefik.http.routers.opal-studio-https.tls.certresolver=letsencrypt"
- "traefik.http.services.opal-studio-svc.loadbalancer.server.port=80"
networks:
coolify:
external: true