Added bin as pastbin internally and made vars more configurable

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-04-17 19:23:48 +02:00
parent ced3ff35ad
commit c48abb4512
8 changed files with 62 additions and 17 deletions

View File

@@ -290,6 +290,27 @@ services:
- "traefik.http.routers.{{prowlarr_host}}.rule=Host(`{{ prowlarr_host }}.{{ aya01_host }}.{{local_domain}}`)"
- "traefik.http.services.{{prowlarr_host}}.loadbalancer.server.port={{ prowlarr_port }}"
pastebin:
image: wantguns/bin
container_name: pastebin
restart: always
networks:
- net
ports:
- "{{ bin_port }}:{{ bin_port }}"
environment:
- PUID={{ puid }}
- PGID={{ pgid }}
- TZ={{ timezone }}
- ROCKET_PORT={{ bin_port }}
- HOST_URL={{ bin_host }}.{{ aya01_host }}.{{ local_domain }}
volumes:
- {{ bin_upload }}:/app/upload
labels:
- "traefik.enable=true"
- "traefik.http.routers.{{ bin_host }}.rule=Host(`{{ bin_host }}.{{ aya01_host }}.{{ local_domain }}`)"
- "traefik.http.services.{{ bin_host }}.loadbalancer.server.port={{ bin_port }}"
networks:
zoneminder:
driver: bridge