feat: Added automatic script copying functionality
This commit is contained in:
@@ -5,7 +5,7 @@ services:
|
||||
image: "vaultwarden/server:latest"
|
||||
container_name: vaultwarden
|
||||
volumes:
|
||||
- ./bitwarden/:/data/
|
||||
- ${DATA_DIR}/bitwarden/:/data/
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user