Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f85e8717 authored by Thomas G.'s avatar Thomas G.
Browse files

fix(docker-compose): try different traefik labels on nginx service 404 error atm

parent 5b605f0d
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ services:
  nginx:
    image: ${NGINX_DOCKER_IMG}
    environment:
      NEXTCLOUD_ADDR: ${NEXTCLOUD_ADDR:-nextcloud:9000}
      NEXTCLOUD_ADDR: ${COMPOSE_PROJECT_NAME}_nextcloud:9000
      DOMAIN: ${DOMAIN}
    volumes:
      - nextcloud-data:/var/www/html/data
@@ -62,6 +62,7 @@ services:
        - traefik.http.routers.${COMPOSE_PROJECT_NAME:-nextcloud}.rule=Host(`${DOMAIN}`)
        - traefik.http.routers.${COMPOSE_PROJECT_NAME:-nextcloud}.entrypoints=websecure
        - traefik.http.routers.${COMPOSE_PROJECT_NAME:-nextcloud}.tls.certresolver=letsencrypt
        - traefik.http.routers.${COMPOSE_PROJECT_NAME:-nextcloud}.middlewares=nextcloud-headers@file
        - traefik.http.routers.${COMPOSE_PROJECT_NAME:-nextcloud}-http.rule=Host(`${DOMAIN}`)
        - traefik.http.routers.${COMPOSE_PROJECT_NAME:-nextcloud}-http.entrypoints=web
        - traefik.http.routers.${COMPOSE_PROJECT_NAME:-nextcloud}-http.middlewares=https-redirect