feat: add homelab deployment configs, documentation, and automation scripts
This commit is contained in:
@@ -1,20 +1,33 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
heimdall:
|
||||
image: lscr.io/linuxserver/heimdall:latest
|
||||
ports:
|
||||
- "85:80"
|
||||
- "403:443"
|
||||
- target: 80
|
||||
published: 85
|
||||
mode: ingress
|
||||
- target: 443
|
||||
published: 403
|
||||
mode: ingress
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/New_York
|
||||
volumes:
|
||||
- heimdall_config:/config
|
||||
- type: bind
|
||||
source: /var/lib/docker-data/heimdall/config
|
||||
target: /config
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == snshpd4lnxswm01
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
volumes:
|
||||
heimdall_config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=14.10.10.71,rw,nfsvers=4"
|
||||
device: ":/volume1/docker/heimdall/"
|
||||
networks:
|
||||
default:
|
||||
name: homelab_public
|
||||
external: true
|
||||
|
||||
21
docker-deployments/shepherd.yml
Normal file
21
docker-deployments/shepherd.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
shepherd:
|
||||
image: containrrr/shepherd:latest
|
||||
environment:
|
||||
- SLEEP_TIME=24h
|
||||
- IGNORELIST_SERVICES=nginx-proxy-manager_app nginx-proxy-manager_backup
|
||||
- UPDATE_OPTIONS=--with-registry-auth
|
||||
- ROLLBACK_FAILURE=true
|
||||
- TZ=America/New_York
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
Reference in New Issue
Block a user