Added frigate and syncthing from portainer

This commit is contained in:
Chris Stuurman 2025-12-02 12:17:17 +02:00
parent 1098423774
commit d6741e6d4c
5 changed files with 85 additions and 1 deletions

View File

@ -1,2 +1,30 @@
* Stacks folder on Proxmox docker
# Stacks folder on Proxmox docker
## Create local Git Repository
git init
## Create a README file (And put an initial comment inside this file)
nano README.md
ls -la
## Get Local Git Repository status
git status
## Add all files to Local Git Repository
git add .
## Do Initial Git commit
git commit -m "first commit"
## Add Github Repository origin (xxxxxxx and yyyyyyy will be provided by Github)
git remote add origin https://github.com/xxxxxxx/yyyyyyyyy.git
## Add Github user email address
git config --global user.email "xyxyxyxyxyx@gmail.com"
## Add Github user name
git config --global user.name "xxxxxxxx"
## Set upstream origin and push to Github
git push --set-upstream origin master

1
frigate/.env Normal file
View File

@ -0,0 +1 @@
# VARIABLE=value #comment

35
frigate/compose.yaml Normal file
View File

@ -0,0 +1,35 @@
services:
frigate:
hostname: frigate
privileged: true
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
cap_add:
- CAP_PERFMON
- CAP_NET_ADMIN
- CAP_NET_RAW
shm_size: 128mb
devices:
- /dev/apex_0:/dev/apex_0
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- /etc/localtime:/etc/localtime:ro
- /db/frigate:/db
- /opt/frigate/config.yml:/config/config.yml
- /mnt/frigate/media:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
- /certs:/certs
ports:
- 5000:5000
- 8554:8554
- 8555:8555/tcp
- 8555:8555/udp
- 8971:8971
environment:
PUID: 1001
PGID: 10002
FRIGATE_RTSP_PASSWORD: Saterdag!90
networks: {}

1
syncthing/.env Normal file
View File

@ -0,0 +1 @@
# VARIABLE=value #comment

19
syncthing/compose.yaml Normal file
View File

@ -0,0 +1,19 @@
name: syncthing
services:
syncthing:
image: lscr.io/linuxserver/syncthing:latest
hostname: syncthing
#user: 1000:10002
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/syncthing/config:/config
- /mnt/frigate/media:/mnt/media
restart: unless-stopped
ports:
- "8384:8384" # WebUI
environment:
PUID: 1000
PGID: 10002
UMASK: 0002
TZ: Africa/Johannesburg