|
|
@@ -1,6 +1,7 @@ |
|
|
services: |
|
|
services: |
|
|
txt-game: |
|
|
txt-game: |
|
|
build: . |
|
|
|
|
|
|
|
|
image: registry-api.novox.be/novox/txt-game:latest |
|
|
|
|
|
container_name: txt-game |
|
|
restart: unless-stopped |
|
|
restart: unless-stopped |
|
|
environment: |
|
|
environment: |
|
|
- DOMAIN=${DOMAIN:-localhost} |
|
|
- DOMAIN=${DOMAIN:-localhost} |
|
|
@@ -8,11 +9,10 @@ services: |
|
|
- "traefik.enable=true" |
|
|
- "traefik.enable=true" |
|
|
- "traefik.http.routers.txt-game.rule=Host(`txt.${DOMAIN:-localhost}`)" |
|
|
- "traefik.http.routers.txt-game.rule=Host(`txt.${DOMAIN:-localhost}`)" |
|
|
- "traefik.http.routers.txt-game.entrypoints=websecure" |
|
|
- "traefik.http.routers.txt-game.entrypoints=websecure" |
|
|
- "traefik.http.routers.txt-game.tls.certresolver=letsencrypt" |
|
|
|
|
|
|
|
|
- "traefik.http.routers.txt-game.tls.certresolver=le" |
|
|
- "traefik.http.services.txt-game.loadbalancer.server.port=3000" |
|
|
- "traefik.http.services.txt-game.loadbalancer.server.port=3000" |
|
|
networks: |
|
|
networks: |
|
|
- proxy |
|
|
- proxy |
|
|
- default |
|
|
|
|
|
|
|
|
|
|
|
networks: |
|
|
networks: |
|
|
proxy: |
|
|
proxy: |
|
|
|