test
Some checks failed
Build & Deploy / Build & Push (push) Has been cancelled
Build & Deploy / Deploy (push) Has been cancelled
Build & Deploy / Docker GC (push) Has been cancelled

This commit is contained in:
AlucardDev
2026-08-29 01:00:53 +03:00
parent 71bb333bee
commit 46ae17d960
6 changed files with 139 additions and 14 deletions

24
docker-stack.yml Normal file
View File

@@ -0,0 +1,24 @@
services:
app:
image: ${IMAGE_TAG}
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