fix(coolify): add Traefik routing labels, coolify network, and zero-cache CDN headers
This commit is contained in:
+21
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user