-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (22 loc) · 931 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (22 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '3.8'
services:
openvpn-wireguard-admin:
build:
context: .
dockerfile: Dockerfile
ports:
- "80:80"
- "443:443"
- "1194:1194" # Uncomment if using OpenVPN
#- "51820:51820" # Uncomment if using WireGuard
environment:
- VPN_PORT=1194 # Specify the VPN port, change if using WireGuard
- ADMIN_DOMAIN=yourdomain.com # Your VPN domain URL
- USE_LETS_ENCRYPT=false # Needs to have public DNS setup for the ADMIN_DOMAIN
- ADBLOCK=True # Enable or disable AdBlock
- VPN_TYPE=wireguard # VPN type: wireguard or openvpn
- ADMIN_USERNAME=admin # Username for web admin panel
- ADMIN_PASSWORD=password # Password for web admin panel
#volumes:
# - ./data:/app/data # Maps the host directory './data' to '/app/data' in the container
restart: unless-stopped # Restart policy for the container