mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-03-28 18:03:49 +00:00
feat: rework entire repo structure
This commit is contained in:
@@ -69,9 +69,9 @@ services:
|
||||
DOCKER_HOST: tcp://socket-rw:2375 # Uses RW proxy to pause containers during backup
|
||||
volumes:
|
||||
- wireguard-data:/backup/wireguard:ro
|
||||
- ./synapse:/backup/synapse:ro
|
||||
- ./data/synapse:/backup/synapse:ro
|
||||
- ssl-data:/backup/ssl:ro
|
||||
- ./backup:/archive
|
||||
- ./data/backup:/archive
|
||||
networks:
|
||||
- socket-rw-bridge
|
||||
- web-network
|
||||
@@ -89,8 +89,8 @@ services:
|
||||
- ENABLE_IPV6=true
|
||||
volumes:
|
||||
- ssl-data:/etc/nginx/certs:ro
|
||||
- ./nginx/default_html:/usr/share/nginx/html
|
||||
- ./nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- ./data/nginx/default_html:/usr/share/nginx/html
|
||||
- ./data/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
labels:
|
||||
- "docker-volume-backup.stop-during-backup=true" # Ensure consistency during backup
|
||||
depends_on:
|
||||
@@ -110,9 +110,9 @@ services:
|
||||
- DOCKER_HOST=tcp://socket-rw:2375 # Needs RW to restart Nginx after renewal
|
||||
volumes:
|
||||
- ssl-data:/etc/nginx/certs
|
||||
- ./nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- ./nginx/default_html:/usr/share/nginx/html
|
||||
- ./nginx/acme_config:/etc/acme.sh
|
||||
- ./data/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
- ./data/nginx/default_html:/usr/share/nginx/html
|
||||
- ./data/nginx/acme_config:/etc/acme.sh
|
||||
labels:
|
||||
- "docker-volume-backup.stop-during-backup=true"
|
||||
depends_on:
|
||||
@@ -132,7 +132,7 @@ services:
|
||||
# - LETSENCRYPT_HOST=${HOSTNAME}, www.${HOSTNAME}
|
||||
# - LETSENCRYPT_EMAIL=${EMAIL}
|
||||
# volumes:
|
||||
# - ./data:/usr/share/nginx/html/data
|
||||
# - /data/public:/usr/share/nginx/html/data
|
||||
# networks:
|
||||
# - web-network
|
||||
|
||||
@@ -186,7 +186,7 @@ services:
|
||||
container_name: synapse
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./synapse:/data
|
||||
- ./data/synapse:/data
|
||||
environment:
|
||||
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
||||
- VIRTUAL_HOST=msg.${HOSTNAME}
|
||||
@@ -210,7 +210,7 @@ services:
|
||||
- GITEA__server__ROOT_URL=https://git.${HOSTNAME}/
|
||||
- DISABLE_REGISTRATION=true # Private instance security
|
||||
volumes:
|
||||
- ./gitea:/data
|
||||
- ./data/gitea:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "222:22" # SSH port mapping for Git operations
|
||||
@@ -227,7 +227,7 @@ services:
|
||||
- LETSENCRYPT_HOST=mirror.${HOSTNAME}
|
||||
- LETSENCRYPT_EMAIL=${EMAIL}
|
||||
- VIRTUAL_PORT=4321
|
||||
- BETTER_AUTH_SECRET=${MIRROR_AUTH_SECRET}
|
||||
- BETTER_AUTH_SECRET=${GITHUB_AUTH_SECRET}
|
||||
volumes:
|
||||
- gitea-mirror-data:/app/data
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user