test
This commit is contained in:
24
docker-stack.yml
Normal file
24
docker-stack.yml
Normal 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
|
||||
Reference in New Issue
Block a user