Skip to content

Commit

Permalink
anse compose update
Browse files Browse the repository at this point in the history
  • Loading branch information
lilkidsuave committed Feb 16, 2024
1 parent 1805add commit a88046d
Showing 1 changed file with 7 additions and 32 deletions.
39 changes: 7 additions & 32 deletions servapps/Anse/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,13 @@
version: '3.7'

cosmos-installer: null
version: "3.7"
services:
anse:
"{ServiceName}":
image: ddiu8081/anse:v1.1.11
restart: unless-stopped
container_name: anse
container_name: "{ServiceName}"
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
- 8014:8014
hostname: "{ServiceName}"
minVersion: 0.14.0-0

0 comments on commit a88046d

Please sign in to comment.