From b1fb9f526726ab3cd20029095d5ed9629ff73693 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 18 Sep 2023 23:41:10 +0200 Subject: [fix] remove subdirectory routing --- docker-compose.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 28b327b..26abf4a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,22 +8,15 @@ services: env_file: .env volumes: - "${REPOSITORIES_PATH}:${CGIT_SCAN_PATH}" + - "./data/assets:/usr/share/cgit-docker" networks: - traefik labels: - "traefik.enable=true" - - "traefik.http.routers.cgit.rule=Host(`${DOMAIN}`) && PathPrefix(`/cgit`)" - - "traefik.http.routers.cgit.entrypoints=websecure" - - "traefik.http.routers.cgit.tls=true" - - "traefik.http.routers.cgit.tls.certresolver=letsencrypt" - - "traefik.http.routers.cgit-root.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.cgit-root.entrypoints=websecure" - "traefik.http.routers.cgit-root.tls=true" - "traefik.http.routers.cgit-root.tls.certresolver=letsencrypt" - - "traefik.http.middlewares.cgit-root.redirectregex.regex=${DOMAIN}/(.*)" - - "traefik.http.middlewares.cgit-root.redirectregex.replacement=${DOMAIN}/cgit/$${1}" - - "traefik.http.routers.cgit-root.middlewares=cgit-root" networks: traefik: -- cgit v1.2.3