Files
test/docker-stack.yml
AlucardDev 979a95ce3f
All checks were successful
Build & Deploy / Build & Push (push) Successful in 3m3s
Build & Deploy / Deploy (push) Successful in 17s
Build & Deploy / Docker GC (push) Successful in 8s
changed: docker-stack image var
2026-08-29 01:27:02 +03:00

25 lines
834 B
YAML

services:
app:
image: ${IMAGE}
environment:
- NODE_ENV=production
- PORT=3000
- NUXT_PUBLIC_API_BASE=${NUXT_PUBLIC_API_BASE:-https://api.main.aeterna.id/v1}
- NUXT_PUBLIC_WS_URL=${NUXT_PUBLIC_WS_URL:-https://api.main.aeterna.id}
- NUXT_PUBLIC_EDITOR_BASE=${NUXT_PUBLIC_EDITOR_BASE:-https://editor.main.aeterna.id}
networks:
- traefik_proxy
deploy:
replicas: 1
labels:
- traefik.enable=true
- traefik.docker.network=traefik_proxy
- traefik.http.routers.dashboard.rule=Host(`dashboard.main.aeterna.id`)
- traefik.http.routers.dashboard.entrypoints=websecure
- traefik.http.services.dashboard.loadbalancer.server.port=3000
- traefik.http.routers.dashboard.tls.certresolver=le
networks:
traefik_proxy:
external: true