-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
51 lines (49 loc) · 1.07 KB
/
docker-compose.yaml
File metadata and controls
51 lines (49 loc) · 1.07 KB
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
45
46
47
48
49
50
51
services:
ntfy:
image: binwiederhier/ntfy
container_name: ntfy-local
restart: unless-stopped
command:
- serve
environment:
- TZ=IST
user: 1000:1000
volumes:
- /var/cache/ntfy:/var/cache/ntfy
- /etc/ntfy:/etc/ntfy
ports:
- 80:80
healthcheck:
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s
timeout: 10s
retries: 3
start_period: 40s
networks:
- ntfy
wg-easy:
container_name: tunnel
image: ghcr.io/wg-easy/wg-easy
restart: unless-stopped
environment:
- PASSWORD_HASH=${PASS}
- WG_HOST=${IP}
volumes:
- ./config:/etc/wireguard
- /lib/modules:/lib/modules
ports:
- "51820:51820/udp"
- "51821:51821/tcp"
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
env_file:
- .env
networks:
- ntfy
networks:
ntfy:
driver: bridge