chore(anse): format docker-compose
This commit is contained in:
parent
d15a55e644
commit
7acf6cefa5
|
@ -1,38 +1,38 @@
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
anse:
|
anse:
|
||||||
image: ddiu8081/anse:v1.1.11
|
image: ddiu8081/anse:v1.1.11
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: anse
|
container_name: anse
|
||||||
environment:
|
environment:
|
||||||
- PORT=8014
|
- PORT=8014
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT}:8014"
|
- '${APP_PORT}:8014'
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
labels:
|
labels:
|
||||||
# Main
|
# Main
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
traefik.http.middlewares.anse-web-redirect.redirectscheme.scheme: https
|
traefik.http.middlewares.anse-web-redirect.redirectscheme.scheme: https
|
||||||
traefik.http.services.anse.loadbalancer.server.port: 8014
|
traefik.http.services.anse.loadbalancer.server.port: 8014
|
||||||
# Web
|
# Web
|
||||||
traefik.http.routers.anse-insecure.rule: Host(`${APP_DOMAIN}`)
|
traefik.http.routers.anse-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||||
traefik.http.routers.anse-insecure.entrypoints: web
|
traefik.http.routers.anse-insecure.entrypoints: web
|
||||||
traefik.http.routers.anse-insecure.service: anse
|
traefik.http.routers.anse-insecure.service: anse
|
||||||
traefik.http.routers.anse-insecure.middlewares: anse-web-redirect
|
traefik.http.routers.anse-insecure.middlewares: anse-web-redirect
|
||||||
# Websecure
|
# Websecure
|
||||||
traefik.http.routers.anse.rule: Host(`${APP_DOMAIN}`)
|
traefik.http.routers.anse.rule: Host(`${APP_DOMAIN}`)
|
||||||
traefik.http.routers.anse.entrypoints: websecure
|
traefik.http.routers.anse.entrypoints: websecure
|
||||||
traefik.http.routers.anse.service: anse
|
traefik.http.routers.anse.service: anse
|
||||||
traefik.http.routers.anse.tls.certresolver: myresolver
|
traefik.http.routers.anse.tls.certresolver: myresolver
|
||||||
# Local domain
|
# Local domain
|
||||||
traefik.http.routers.anse-local-insecure.rule: Host(`anse.${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.entrypoints: web
|
||||||
traefik.http.routers.anse-local-insecure.service: anse
|
traefik.http.routers.anse-local-insecure.service: anse
|
||||||
traefik.http.routers.anse-local-insecure.middlewares: anse-web-redirect
|
traefik.http.routers.anse-local-insecure.middlewares: anse-web-redirect
|
||||||
# Local domain secure
|
# Local domain secure
|
||||||
traefik.http.routers.anse-local.rule: Host(`anse.${LOCAL_DOMAIN}`)
|
traefik.http.routers.anse-local.rule: Host(`anse.${LOCAL_DOMAIN}`)
|
||||||
traefik.http.routers.anse-local.entrypoints: websecure
|
traefik.http.routers.anse-local.entrypoints: websecure
|
||||||
traefik.http.routers.anse-local.service: anse
|
traefik.http.routers.anse-local.service: anse
|
||||||
traefik.http.routers.anse-local.tls: true
|
traefik.http.routers.anse-local.tls: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user