This commit is contained in:
Joey Hafner 2022-10-16 15:30:45 -07:00
parent 80ba8f58d1
commit 5f6234f77a
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,9 @@
ADMIN_USERNAME=
ADMIN_PASSWORD=
SECRET_KEY=
MINUTES_BETWEEN_VIDEO_SCANS=
PUID=1000
PGID=1000
VIDEO_DIR=/mnt/nas/Video/Recordings/Fireshare
DATA_DIR=/home/joey/data/fireshare/db
PROCESSED_DIR=/home/joey/data/fireshare/metadata

View File

@ -0,0 +1,28 @@
version: '3'
services:
fireshare:
container_name: fireshare_fireshare
image: shaneisreal/fireshare:latest
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
labels:
- traefik.http.routers.fireshare.rule=Host(`clips.jafner.net`)
- traefik.http.routers.fireshare.tls.certresolver=lets-encrypt
networks:
- web
volumes:
- $DATA_DIR:/data
- $PROCESSED_DIR:/processed
- $VIDEO_DIR:/videos
env_file:
- .env
networks:
web:
external: true