-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
43 lines (41 loc) · 953 Bytes
/
compose.yaml
File metadata and controls
43 lines (41 loc) · 953 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
services:
caddy:
build: .
container_name: caddy
restart: unless-stopped
environment:
- UPSTREAM=${UPSTREAM:-10.13.13.2}
volumes:
- config:/config
- data:/data
network_mode: service:wireguard
wireguard:
image: linuxserver/wireguard
container_name: wireguard
restart: unless-stopped
ports:
- 80:80
- 443:443
- ${WG_SERVER_PORT:-51820}:51820/udp
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- SERVERURL=${WG_SERVER_URL:-auto}
- SERVERPORT=${WG_SERVER_PORT:-51820}
- INTERNAL_SUBNET=${WG_SUBNET:-10.13.13.0}
- ALLOWEDIPS=${WG_ALLOWED_IPS:-10.13.13.1}
- PEERS=${WG_PEER_COUNT:-1}
- LOG_CONFS=false
volumes:
- wireguard:/config
- /lib/modules
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
volumes:
config:
data:
wireguard: