feat: Added automatic script copying functionality

This commit is contained in:
2026-07-10 22:58:56 +01:00
parent 41d93563d0
commit bab789a347
23 changed files with 284 additions and 18 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ services:
image: "vaultwarden/server:latest"
container_name: vaultwarden
volumes:
- ./bitwarden/:/data/
- ${DATA_DIR}/bitwarden/:/data/
networks:
- proxy
labels:
+2 -2
View File
@@ -6,7 +6,7 @@ services:
restart: unless-stopped
volumes:
- ./data:/root
- ${DATA_DIR}/rustdesk:/root
networks:
- proxy
@@ -39,7 +39,7 @@ services:
restart: unless-stopped
volumes:
- ./data:/root
- ${DATA_DIR}/rustdesk:/root
networks:
- proxy
+5
View File
@@ -3,6 +3,11 @@
set -e
cd "$(dirname "$0")"
if [ ! -f .env ]; then
echo "Missing .env (expected DATA_DIR=/mnt/HC_Volume_...) - run 'tofu apply' in infra/ first, then re-copy this directory." >&2
exit 1
fi
docker compose -f traefik-docker-compose.yml pull && docker compose -f traefik-docker-compose.yml up -d
sleep 20 # Allow Traefik + registry auth to settle before starting the rest of the services
+1 -1
View File
@@ -3,7 +3,7 @@ services:
image: louislam/uptime-kuma:latest
container_name: status
volumes:
- ./uptime-kuma/data:/app/data
- ${DATA_DIR}/uptime-kuma/data:/app/data
networks:
- proxy
labels:
+1 -1
View File
@@ -20,7 +20,7 @@ services:
- "443:443"
- "27017:27017"
volumes:
- "./letsencrypt:/letsencrypt"
- "${DATA_DIR}/letsencrypt:/letsencrypt"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
networks:
- proxy
+1 -1
View File
@@ -81,7 +81,7 @@ services:
image: "php:apache"
container_name: snexo
volumes:
- ./snexo.co.uk/:/var/www/html
- ${DATA_DIR}/snexo.co.uk/:/var/www/html
networks:
- proxy
labels: