This commit is contained in:
msnie
2024-02-03 11:58:42 +01:00
parent 17ca1c805f
commit 5b0b5f548c
706 changed files with 135245 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
DOMAIN_NAME=knast.cc
DEFAULT_NETWORK=traefik
+30
View File
@@ -0,0 +1,30 @@
version: "3"
services:
hastebin:
image: rlister/hastebin
environment:
STORAGE_TYPE: redis
STORAGE_HOST: hastebinredis
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.hastebin.entrypoints=websecure"
- "traefik.http.routers.hastebin.rule=Host(`haste.$DOMAIN_NAME`)"
- "traefik.http.routers.hastebin.tls.certresolver=letsencr"
logging:
driver: loki
options:
loki-url: "http://localhost:3100/loki/api/v1/push"
hastebinredis:
image: redis
restart: always
volumes:
- /srv/hastebin:/data
labels:
- "traefik.enable=false"
networks:
default:
external:
name: $DEFAULT_NETWORK