Local change dump
This commit is contained in:
@@ -68,33 +68,33 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=false" # Internal only, accessed by restic-browser
|
||||
|
||||
restic-browser:
|
||||
image: embergarage/restic-browser:latest
|
||||
container_name: restic-browser
|
||||
restart: always
|
||||
environment:
|
||||
- TZ=America/Montreal
|
||||
- RESTIC_REPOSITORY=http://restic-server:8080
|
||||
- RESTIC_PASSWORD=${RESTIC_PASSWORD}
|
||||
networks:
|
||||
- backup_net
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
# 1. HTTP to HTTPS Redirect
|
||||
- "traefik.http.routers.restic-browser-http.rule=Host(`backup.lazyworkhorse.net`)"
|
||||
- "traefik.http.routers.restic-browser-http.entrypoints=web"
|
||||
- "traefik.http.routers.restic-browser-http.middlewares=redirect-to-https@docker"
|
||||
|
||||
# 2. HTTPS Configuration
|
||||
- "traefik.http.routers.restic-browser.rule=Host(`backup.lazyworkhorse.net`)"
|
||||
- "traefik.http.routers.restic-browser.entrypoints=websecure"
|
||||
- "traefik.http.routers.restic-browser.tls=true"
|
||||
- "traefik.http.routers.restic-browser.tls.certresolver=njalla"
|
||||
|
||||
# 3. Backend Service Config
|
||||
- "traefik.http.services.restic-browser.loadbalancer.server.port=8000"
|
||||
# restic-browser:
|
||||
# image: mazzolino/restic-browser:latest
|
||||
# container_name: restic-browser
|
||||
# restart: always
|
||||
# environment:
|
||||
# - TZ=America/Montreal
|
||||
# - RESTIC_REPOSITORY=http://restic-server:8080
|
||||
# - RESTIC_PASSWORD=${RESTIC_PASSWORD}
|
||||
# networks:
|
||||
# - backup_net
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# # 1. HTTP to HTTPS Redirect
|
||||
# - "traefik.http.routers.restic-browser-http.rule=Host(`backup.lazyworkhorse.net`)"
|
||||
# - "traefik.http.routers.restic-browser-http.entrypoints=web"
|
||||
# - "traefik.http.routers.restic-browser-http.middlewares=redirect-to-https@docker"
|
||||
#
|
||||
# # 2. HTTPS Configuration
|
||||
# - "traefik.http.routers.restic-browser.rule=Host(`backup.lazyworkhorse.net`)"
|
||||
# - "traefik.http.routers.restic-browser.entrypoints=websecure"
|
||||
# - "traefik.http.routers.restic-browser.tls=true"
|
||||
# - "traefik.http.routers.restic-browser.tls.certresolver=njalla"
|
||||
#
|
||||
# # 3. Backend Service Config
|
||||
# - "traefik.http.services.restic-browser.loadbalancer.server.port=8000"
|
||||
|
||||
networks:
|
||||
backup_net:
|
||||
external: true
|
||||
driver: bridge
|
||||
name: backup_net
|
||||
|
||||
Reference in New Issue
Block a user