Added pastebin and removed obsidian

This commit is contained in:
Luke Else 2025-02-02 11:19:56 +00:00
parent 9e1cf178af
commit 6f3bffe1fb

View File

@ -78,6 +78,28 @@ services:
- "traefik.http.routers.obsidian.tls.certresolver=myresolver"
restart: unless-stopped
services:
bin:
image: 'quxfoo/wastebin:latest'
environment:
- WASTEBIN_DATABASE_PATH=/data/state.db
volumes:
- './bin/data:/data'
networks:
- proxy
labels:
## Expose bin Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
- "traefik.http.routers.bin-insecure.middlewares=redirect-web-secure"
- "traefik.http.routers.bin-insecure.rule=Host(`bin.luke-else.co.uk`)"
- "traefik.http.routers.bin-insecure.entrypoints=web"
- "traefik.http.routers.bin.rule=Host(`bin.luke-else.co.uk`)"
- "traefik.http.routers.bin.entrypoints=websecure"
- "traefik.http.routers.bin.tls.certresolver=myresolver"
networks:
proxy:
external: true