Merge branch 'main' of gitlab.com:null4bl3/home_server
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
filebrowser:
|
||||
image: filebrowser/filebrowser:s6
|
||||
# user: "1000:1000"
|
||||
ports:
|
||||
- 8188:80
|
||||
# ports:
|
||||
# - 8188:8188
|
||||
healthcheck:
|
||||
test: curl -f http://localhost:8188/ || exit 1
|
||||
restart: unless-stopped
|
||||
# user: "1000:113"
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost:8188/health"]
|
||||
# interval: 30s
|
||||
# timeout: 20s
|
||||
# retries: 3
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
@@ -17,19 +23,19 @@ services:
|
||||
networks:
|
||||
- traefik
|
||||
environment:
|
||||
- PUID=${UID}
|
||||
- PGID=${GID}
|
||||
- PUID=${MYUID}
|
||||
- PGID=${MYGID}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.files.entrypoints=websecure"
|
||||
- "traefik.http.routers.files.rule=Host(`files.$DOMAIN_NAME`)"
|
||||
- "traefik.http.routers.files.rule=Host(`files.knast.cc`)"
|
||||
- "traefik.http.routers.files.tls.certresolver=letsencr"
|
||||
# - traefik.http.middlewares.https_redirect.redirectscheme.scheme=https
|
||||
# - traefik.http.routers.http_catchall.middlewares=https_redirect
|
||||
- "traefik.http.services.files.loadbalancer.server.port=8188"
|
||||
# - "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:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"port": 80,
|
||||
"port": 8188,
|
||||
"baseURL": "",
|
||||
"address": "",
|
||||
"log": "stdout",
|
||||
|
||||
Reference in New Issue
Block a user