feat: more services
file browser, n8n, portainer, syncthing, uptime-kuma, watchtower
This commit is contained in:
@@ -57,3 +57,28 @@ filebrowser.sauravdhakal.com.np {
|
||||
bind 100.81.85.182
|
||||
reverse_proxy localhost:8083
|
||||
}
|
||||
|
||||
syncthing.sauravdhakal.com.np {
|
||||
bind 100.81.85.182
|
||||
reverse_proxy localhost:8384
|
||||
}
|
||||
|
||||
portainer.sauravdhakal.com.np {
|
||||
bind 100.81.85.182
|
||||
reverse_proxy localhost:9000
|
||||
}
|
||||
|
||||
uptime.sauravdhakal.com.np {
|
||||
bind 100.81.85.182
|
||||
reverse_proxy localhost:3001
|
||||
}
|
||||
|
||||
# dozzle.sauravdhakal.com.np {
|
||||
# bind 100.81.85.182
|
||||
# reverse_proxy localhost:8888
|
||||
# }
|
||||
#
|
||||
# glances.sauravdhakal.com.np {
|
||||
# bind 100.81.85.182
|
||||
# reverse_proxy localhost:61208
|
||||
# }
|
||||
|
||||
12
services/filebrowser.yml
Normal file
12
services/filebrowser.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
filebrowser:
|
||||
image: filebrowser/filebrowser:latest
|
||||
restart: unless-stopped
|
||||
user: "1000:1000"
|
||||
ports:
|
||||
- "127.0.0.1:8083:80"
|
||||
volumes:
|
||||
- /home/saurav/hetzner_self/data:/srv/data
|
||||
- /home/saurav/cloud:/srv/cloud
|
||||
- /home/saurav/hetzner_self/filebrowser/filebrowser.db:/database/filebrowser.db
|
||||
- /home/saurav/hetzner_self/filebrowser/settings.json:/config/settings.json
|
||||
17
services/n8n.yml
Normal file
17
services/n8n.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
n8n:
|
||||
image: n8nio/n8n:latest
|
||||
restart: unless-stopped
|
||||
user: "node"
|
||||
ports:
|
||||
- "127.0.0.1:5678:5678"
|
||||
environment:
|
||||
- N8N_HOST=n8n.sauravdhakal.com.np
|
||||
- N8N_PORT=5678
|
||||
- N8N_PROTOCOL=https
|
||||
- WEBHOOK_URL=https://n8n.sauravdhakal.com.np
|
||||
- N8N_EDITOR_BASE_URL=https://n8n-admin.sauravdhakal.com.np
|
||||
- GENERIC_TIMEZONE=Asia/Kathmandu
|
||||
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
|
||||
volumes:
|
||||
- /home/saurav/hetzner_self/data/n8n:/home/node/.n8n
|
||||
9
services/portainer.yml
Normal file
9
services/portainer.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
portainer:
|
||||
image: portainer/portainer-ce:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:9000:9000"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock # needs docker socket
|
||||
- /home/saurav/hetzner_self/data/portainer:/data
|
||||
16
services/syncthing.yml
Normal file
16
services/syncthing.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing:latest
|
||||
restart: unless-stopped
|
||||
user: "1000:1000"
|
||||
ports:
|
||||
- "127.0.0.1:8384:8384" # web UI — VPN only via Caddy
|
||||
- "22000:22000/tcp" # sync protocol — needs to be public
|
||||
- "22000:22000/udp"
|
||||
- "21027:21027/udp" # discovery
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- /home/saurav/hetzner_self/data/syncthing:/var/syncthing
|
||||
# NOTE: - /home/saurav/cloud:/sync/cloud # sync your cloud folder
|
||||
8
services/uptime-kuma.yml
Normal file
8
services/uptime-kuma.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
uptime-kuma:
|
||||
image: louislam/uptime-kuma:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3001:3001"
|
||||
volumes:
|
||||
- /home/saurav/hetzner_self/data/uptime-kuma:/app/data
|
||||
16
services/watchtower.yml
Normal file
16
services/watchtower.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- WATCHTOWER_NOTIFICATIONS=email
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=${WATCHTOWER_EMAIL_FROM}
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_TO=${WATCHTOWER_EMAIL_TO}
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.gmail.com
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${WATCHTOWER_EMAIL_USER}
|
||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${WATCHTOWER_EMAIL_PASSWORD}
|
||||
- WATCHTOWER_MONITOR_ONLY=true # notify only, no auto updates
|
||||
- WATCHTOWER_SCHEDULE=0 0 8 * * * # check every day at 8am
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
Reference in New Issue
Block a user