diff --git a/file_browser/docker-compose.yml b/file_browser/docker-compose.yml index d6f563c..9ad4c62 100644 --- a/file_browser/docker-compose.yml +++ b/file_browser/docker-compose.yml @@ -1,4 +1,3 @@ -version: "3" services: filebrowser: @@ -8,6 +7,8 @@ services: # - 8081:8081 # healthcheck: # test: curl -f http://localhost:8081/ || exit 1 + restart: unless-stopped + user: "1000:113" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8081/health"] interval: 30s @@ -21,9 +22,9 @@ services: - /srv/file_browser/database/:/database/ networks: - traefik - environment: - - PUID=${UID} - - PGID=${GID} +# environment: +# - PUID=${UID} +# - PGID=${GID} labels: - "traefik.enable=true" - "traefik.http.routers.files.entrypoints=websecure" @@ -34,7 +35,7 @@ services: - "traefik.http.services.files.loadbalancer.server.port=8081" # - "traefik.http.routers.files.middlewares=files_auth" # - "traefik.http.middlewares.files_auth.basicauth.users=admin:$$2a$$12$$MkhjqyuriyoE5.Mhz14ZXOkfjE7wUEDb46e9argix38VHZ5aAuGQC" - restart: always +# restart: always # services: # filebrowser: