mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 16:36:00 +00:00
Refactor docker-compose.yml to update dozzle service configuration
This commit is contained in:
+4
-3
@@ -1,7 +1,8 @@
|
|||||||
x-environment: &default-environment
|
x-environment: &default-environment
|
||||||
LOG_LEVEL: "ERROR"
|
LOG_LEVEL: "ERROR"
|
||||||
ACME_PATH: "./acme.json"
|
ACME_PATH: "./acme.json"
|
||||||
NETWORK: "${NETWORK:-host}"
|
NETWORK: "${NETWORK:-web}"
|
||||||
|
DOMAINNAME: "${DOMAINNAME:-furyhawk.lol}"
|
||||||
TZ: "${TZ:-Asia/Singapore}"
|
TZ: "${TZ:-Asia/Singapore}"
|
||||||
FIN_LOCATION: ""
|
FIN_LOCATION: ""
|
||||||
STREAMLIT_FIN_SERVER_PORT: "8501"
|
STREAMLIT_FIN_SERVER_PORT: "8501"
|
||||||
@@ -23,7 +24,7 @@ services:
|
|||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
environment:
|
environment:
|
||||||
- TZ="${TZ:-Asia/Singapore}"
|
<<: *default-environment
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
@@ -81,6 +82,6 @@ services:
|
|||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.traefik.entrypoints=web-secure"
|
- "traefik.http.routers.traefik.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.traefik.rule=Host(`dashboard.${DOMAINNAME}`)"
|
- "traefik.http.routers.traefik.rule=Host(`dashboard.${DOMAINNAME}`)"
|
||||||
- "traefik.http.routers.traefik.middlewares=auth"
|
- "traefik.http.routers.traefik.middlewares=auth@file"
|
||||||
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.routers.traefik.service=api@internal"
|
- "traefik.http.routers.traefik.service=api@internal"
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
http:
|
||||||
|
middlewares:
|
||||||
|
middlewares-basic-auth:
|
||||||
|
basicAuth:
|
||||||
|
# users:
|
||||||
|
# - "user:$apsdfswWvC/6.$E3FtsfTntPC0wVJ7IUVtX1"
|
||||||
|
usersFile: "/run/secrets/basic_auth_credentials"
|
||||||
|
realm: "Traefik 3 Basic Auth"
|
||||||
Reference in New Issue
Block a user