file browser
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
filebrowser:
|
filebrowser:
|
||||||
@@ -8,6 +7,8 @@ services:
|
|||||||
# - 8081:8081
|
# - 8081:8081
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: curl -f http://localhost:8081/ || exit 1
|
# test: curl -f http://localhost:8081/ || exit 1
|
||||||
|
restart: unless-stopped
|
||||||
|
user: "1000:113"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8081/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:8081/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -21,9 +22,9 @@ services:
|
|||||||
- /srv/file_browser/database/:/database/
|
- /srv/file_browser/database/:/database/
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
environment:
|
# environment:
|
||||||
- PUID=${UID}
|
# - PUID=${UID}
|
||||||
- PGID=${GID}
|
# - PGID=${GID}
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.files.entrypoints=websecure"
|
- "traefik.http.routers.files.entrypoints=websecure"
|
||||||
@@ -34,7 +35,7 @@ services:
|
|||||||
- "traefik.http.services.files.loadbalancer.server.port=8081"
|
- "traefik.http.services.files.loadbalancer.server.port=8081"
|
||||||
# - "traefik.http.routers.files.middlewares=files_auth"
|
# - "traefik.http.routers.files.middlewares=files_auth"
|
||||||
# - "traefik.http.middlewares.files_auth.basicauth.users=admin:$$2a$$12$$MkhjqyuriyoE5.Mhz14ZXOkfjE7wUEDb46e9argix38VHZ5aAuGQC"
|
# - "traefik.http.middlewares.files_auth.basicauth.users=admin:$$2a$$12$$MkhjqyuriyoE5.Mhz14ZXOkfjE7wUEDb46e9argix38VHZ5aAuGQC"
|
||||||
restart: always
|
# restart: always
|
||||||
|
|
||||||
# services:
|
# services:
|
||||||
# filebrowser:
|
# filebrowser:
|
||||||
|
|||||||
Reference in New Issue
Block a user