diff --git a/fstab b/fstab index de95afc..44fa364 100644 --- a/fstab +++ b/fstab @@ -1,4 +1,4 @@ //USERNAME.your-storagebox.de/backup/backups /mnt/storagebox/backups smb3 uid=0,gid=1000,file_mode=0660,dir_mode=0770,credentials=/etc/storagebox-cifs-credentials.txt,iocharset=utf8,rw,mfsymlinks,vers=3,seal 0 0 //USERNAME.your-storagebox.de/backup /mnt/storagebox smb3 uid=0,gid=0,file_mode=0640,dir_mode=0755,credentials=/etc/storagebox-cifs-credentials.txt,iocharset=utf8,rw,mfsymlinks,vers=3,seal 0 0 -//USERNAME.your-storagebox.de/backup/syncthing /mnt/storagebox/syncthing smb3 uid=101000,gid=101000,file_mode=0640,dir_mode=0750,credentials=/etc/storagebox-cifs-credentials.txt,iocharset=utf8,rw,mfsymlinks,vers=3,seal 0 0 -//USERNAME.your-storagebox.de/backup/fireshare /mnt/storagebox/fireshare smb3 uid=101006,gid=101006,file_mode=0644,dir_mode=0755,credentials=/etc/storagebox-cifs-credentials.txt,iocharset=utf8,rw,mfsymlinks,vers=3,seal 0 0 +//USERNAME.your-storagebox.de/backup/syncthing /mnt/storagebox/syncthing smb3 uid=101000,gid=1000,file_mode=0640,dir_mode=0750,credentials=/etc/storagebox-cifs-credentials.txt,iocharset=utf8,rw,mfsymlinks,vers=3,seal 0 0 +//USERNAME.your-storagebox.de/backup/fireshare /mnt/storagebox/fireshare smb3 uid=101006,gid=1000,file_mode=0640,dir_mode=0750,credentials=/etc/storagebox-cifs-credentials.txt,iocharset=utf8,rw,mfsymlinks,vers=3,seal 0 0 diff --git a/projects/fireshare/.env.mako b/projects/fireshare/.env.mako new file mode 100644 index 0000000..f2b683a --- /dev/null +++ b/projects/fireshare/.env.mako @@ -0,0 +1,9 @@ +ADMIN_USERNAME='${secrets["fireshare"]["admin_user"]}' +ADMIN_PASSWORD='${secrets["fireshare"]["admin_pass"]}' +SECRET_KEY='${secrets["fireshare"]["key"]}' +MINUTES_BETWEEN_VIDEO_SCANS=5 +# The location in the video thumbnails are generated. A value between 0-100 where 50 would be the frame in the middle of the video file and 0 would be the first frame of the video. +THUMBNAIL_VIDEO_LOCATION=0 +DOMAIN=clips.${env['domain']} +PUID=${env['users']['fireshare']} +PGID=${env['users']['fireshare']} diff --git a/projects/fireshare/compose.yaml.mako b/projects/fireshare/compose.yaml.mako new file mode 100644 index 0000000..47aaef6 --- /dev/null +++ b/projects/fireshare/compose.yaml.mako @@ -0,0 +1,13 @@ +services: + fireshare: + container_name: fireshare + image: docker.io/shaneisrael/fireshare:latest + network_mode: pasta:-a,${env['pasta']['fireshare']['ipv4']},-a,${env['pasta']['fireshare']['ipv6']} + restart: always + env_file: .env.rendered + ports: + - 127.0.0.1:${env['ports']['fireshare']}:80 + volumes: + - ${env['volumes']['fireshare']['datadir']}:/data + - ${env['volumes']['fireshare']['processeddir']}:/processed + - ${env['volumes']['fireshare']['videosdir']}:/videos diff --git a/pyenv.yml b/pyenv.yml index 0a57be9..8ba6cec 100644 --- a/pyenv.yml +++ b/pyenv.yml @@ -61,6 +61,9 @@ pasta: etebase: ipv4: 10.86.5.1 ipv6: fc86::5 + fireshare: + ipv4: 10.86.6.1 + ipv6: fc86::6 hedgedoc: ipv4: 10.86.8.1 ipv6: fc86::8