Migrate Fireshare to Podman

This commit is contained in:
Viyurz 2024-10-15 13:30:09 +02:00
parent 6610958d2b
commit 68fe5cd260
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
4 changed files with 27 additions and 2 deletions

4
fstab
View file

@ -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/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 /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/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=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/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

View file

@ -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']}

View file

@ -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

View file

@ -61,6 +61,9 @@ pasta:
etebase: etebase:
ipv4: 10.86.5.1 ipv4: 10.86.5.1
ipv6: fc86::5 ipv6: fc86::5
fireshare:
ipv4: 10.86.6.1
ipv6: fc86::6
hedgedoc: hedgedoc:
ipv4: 10.86.8.1 ipv4: 10.86.8.1
ipv6: fc86::8 ipv6: fc86::8