-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (43 loc) · 984 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (43 loc) · 984 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
services:
junction:
build:
context: .
dockerfile: Dockerfile
target: standalone
command: ["junction", "--config=/config.toml", "-d"]
volumes:
- ./config.toml:/config.toml:ro
ports:
- 5453:5453/udp
- 5453:5453/tcp
- 80:80
- 443:443
environment:
- ZAPLOG_LEVEL=debug
env_file:
- .env
openvpn:
profiles:
- "ovpn"
image: ghcr.io/fmotalleb/openvpn-client:v0.1.0
command: ["-D"]
restart: unless-stopped
cap_add:
- net_admin
network_mode: "service:junction"
volumes:
# text file,
# first line = username
# second line = password
#<Username>
#<Password>
- ./vpn.secret.auth:/vpn/vpn.auth
# OpenVpn config file
- ./vpn.secret.conf:/vpn/vpn.conf
# dns:
# image: fmotalleb/cord-locator:v2.0.11
# ports:
# - 53:53/udp
# configs:
# - source: cord-locator
# target: /app/config.yaml