-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (70 loc) · 1.44 KB
/
docker-compose.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: "3.9"
x-server-tune: &server-tune
restart: unless-stopped
sysctls:
- net.core.somaxconn=65535
ulimits:
nproc: 65535
nofile: 500000
services:
caddy:
container_name: caddy
build:
context: .
dockerfile: Dockerfile
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
ports:
- "80:80"
- "443:443"
- "443:443/udp"
environment:
- ACME_AGREE=true
env_file:
- .env
depends_on:
- kuma
- ntfy
<<: *server-tune
kuma:
container_name: kuma
image: louislam/uptime-kuma
volumes:
- "./data/uptime-kuma:/app/data"
expose:
- "3001"
<<: *server-tune
ntfy:
container_name: ntfy
image: binwiederhier/ntfy
volumes:
- ./data/ntfy:/var/lib/ntfy
command:
- serve
environment:
- NTFY_LISTEN_HTTP=:8000
- NTFY_CACHE_FILE=/var/lib/ntfy/cache.db
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
- NTFY_AUTH_DEFAULT_ACCESS=deny-all
- NTFY_BEHIND_PROXY=true
- NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments
- NTFY_ENABLE_LOGIN=true
- NTFY_UPSTREAM_BASE_URL=https://ntfy.sh
env_file:
- .env
expose:
- "8000"
<<: *server-tune
smtp:
container_name: smtp
image: bytemark/smtp
expose:
- 25
env_file:
- .env
restart: unless-stopped
volumes:
caddy_data:
caddy_config: