-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 869 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun-vpn
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=mullvad # Replace with your VPN provider
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY="your_private_key"
- WIREGUARD_ADDRESSES="X.X.X.X/32"
- SERVER_CITIES=CityName # Replace with desired server location
restart: always
ssh-client:
build:
context: .
args:
TZ: UTC # Set the timezone during build
container_name: ssh-client-container
volumes:
- ./ssh:/app/ssh:ro # Use local SSH keys and config
- ./data:/data/sync # Directory for synced data
- ./config.json:/app/config/config.json:ro # Mount the JSON config file
network_mode: "service:gluetun" # Route traffic through the Gluetun VPN
stdin_open: true
tty: true