chore: refined control script

This commit is contained in:
2026-07-21 16:53:15 +01:00
parent aa3ea39ddf
commit 7ebd02f6b8
15 changed files with 144 additions and 30 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ services:
# Run explicitly by spinup.sh before the services that own these volumes
# start - not started by `docker compose up`.
restore:
image: amazon/aws-cli:2
image: amazon/aws-cli:latest
container_name: backup-restore
entrypoint: ["/bin/bash", "/restore.sh"]
environment:
+1 -1
View File
@@ -31,7 +31,7 @@ services:
# Run explicitly by spinup.sh before the services that own these volumes
# start - not started by `docker compose up`.
restore:
image: amazon/aws-cli:2
image: amazon/aws-cli:latest
container_name: backup-restore
entrypoint: [ "/bin/bash", "/restore.sh" ]
environment:
+1 -1
View File
@@ -26,7 +26,7 @@ services:
# Run explicitly by spinup.sh before the services that own these volumes
# start - not started by `docker compose up`.
restore:
image: amazon/aws-cli:2
image: amazon/aws-cli:latest
container_name: backup-restore
entrypoint: ["/bin/bash", "/restore.sh"]
environment:
+11 -5
View File
@@ -2,13 +2,15 @@ services:
dockovpn:
image: alekslitvinenk/openvpn
cap_add:
- NET_ADMIN
- NET_ADMIN
ports:
- 1194:1194/udp # Expose tcp if you defined HOST_TUN_PROTOCOL=tcp
- 1194:1194/udp # Expose tcp if you defined HOST_TUN_PROTOCOL=tcp
networks:
- proxy
environment:
HOST_ADDR: vpn.luke-else.co.uk # Your VPN server address
HOST_ADDR: vpn.luke-else.co.uk # Your VPN server address
volumes:
- openvpn_data:/opt/Dockovpn_data
- openvpn_data:/opt/Dockovpn_data
labels:
## Expose vpn Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
@@ -26,6 +28,10 @@ services:
- "traefik.http.routers.vpn.tls.certresolver=myresolver"
restart: always
networks:
proxy:
external: true
volumes:
openvpn_data:
name: openvpn_data
name: openvpn_data