app-store/apps/anse/docker-compose.yml
nrvo 123c43c33e
Update apps/anse/docker-compose.yml
Co-authored-by: Nicolas Meienberger <47644445+meienberger@users.noreply.github.com>
2024-01-29 20:16:35 +01:00

39 lines
1.7 KiB
YAML
Executable File

version: '3.7'
services:
anse:
image: ddiu8081/anse:v1.1.11
restart: unless-stopped
container_name: anse
environment:
- PORT=8014
ports:
- "${APP_PORT}:8014"
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.anse-web-redirect.redirectscheme.scheme: https
traefik.http.services.anse.loadbalancer.server.port: 8014
# Web
traefik.http.routers.anse-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.anse-insecure.entrypoints: web
traefik.http.routers.anse-insecure.service: anse
traefik.http.routers.anse-insecure.middlewares: anse-web-redirect
# Websecure
traefik.http.routers.anse.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.anse.entrypoints: websecure
traefik.http.routers.anse.service: anse
traefik.http.routers.anse.tls.certresolver: myresolver
# Local domain
traefik.http.routers.anse-local-insecure.rule: Host(`anse.${LOCAL_DOMAIN}`)
traefik.http.routers.anse-local-insecure.entrypoints: web
traefik.http.routers.anse-local-insecure.service: anse
traefik.http.routers.anse-local-insecure.middlewares: anse-web-redirect
# Local domain secure
traefik.http.routers.anse-local.rule: Host(`anse.${LOCAL_DOMAIN}`)
traefik.http.routers.anse-local.entrypoints: websecure
traefik.http.routers.anse-local.service: anse
traefik.http.routers.anse-local.tls: true