Add watchtower and gotify, as well as tweak some services

This commit is contained in:
Isaac Shoebottom 2024-05-29 10:11:25 -03:00
parent 0f8d48b1cf
commit e2f291518f
4 changed files with 41 additions and 0 deletions

16
gotify/docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
version: "3"
services:
gotify:
container_name: gotify
hostname: gotify.local
image: gotify/server
ports:
- 8085:80
volumes:
- "/docker/appdata/gotify/data:/app/data"
networks:
default:
name: "ubuntu-server"
external: true

View File

@ -10,6 +10,7 @@ services:
- JELLYFIN_CONFIG_DIR=/etc/jellyfin
- JELLYFIN_DATA_DIR=/var/lib/jellyfin
- JELLYFIN_LOG_DIR=/var/log/jellyfin
- JELLYFIN_PublishedServerUrl=https://jellyfin.shoebottom.ca
volumes:
- /docker/appdata/jellyfin/etc:/etc/jellyfin
- /docker/appdata/jellyfin/cache:/var/cache/jellyfin

View File

@ -8,6 +8,8 @@ services:
restart: unless-stopped
volumes:
- valkey-data:/data
networks:
- searxng
cap_drop:
- ALL
cap_add:
@ -26,6 +28,8 @@ services:
restart: unless-stopped
ports:
- 8383:8080
networks:
- searxng
volumes:
- /docker/appdata/searxng/config:/etc/searxng:rw
environment:

View File

@ -0,0 +1,20 @@
version: "3"
services:
watchtower:
container_name: watchtower
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_NOTIFICATION_URL=gotify://gotify.local:80/AqM0qG78r90ohBf?disabletls=yes
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_REMOVE_VOLUMES=true
- WATCHTOWER_INCLUDE_RESTARTING=true
- WATCHTOWER_POLL_INTERVAL=7200
networks:
default:
name: "ubuntu-server"
external: true