-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 1.23 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
services:
tor:
build: ./tor
restart: always
volumes:
- ./tor/tor_data:/var/lib/tor
- ./tor/torrc:/etc/tor/torrc
ports:
- 80:80 # HTTP
- 443:443 # HTTPS
- 8080:8080 # NOSTR
- 3001:3001 # UPTIME_KUMA
nginx:
build: ./nginx
restart: always
volumes:
- /etc/letsencrypt:/etc/letsencrypt:ro
- ./html:/var/www/html:ro
depends_on:
- tor
network_mode: service:tor
certbot:
image: certbot/certbot:latest
restart: always
volumes:
- /var/www/certbot/:/var/www/certbot/:rw
- /etc/letsencrypt/:/etc/letsencrypt/:rw
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
depends_on:
- tor
network_mode: service:tor
nostr:
image: koalasat/satstralia-web-nostr:0.6
restart: always
volumes:
- ./strfry/onion_urls.txt:/app/onion_urls.txt:ro
- ./strfry/config/strfry.conf:/etc/strfry.conf:ro
- ./strfry/db:/app/strfry-db:rw
depends_on:
- tor
network_mode: service:tor
uptime_kuma:
image: louislam/uptime-kuma:latest
restart: always
volumes:
- ./uptimekuma/data:/app/data:rw
depends_on:
- tor
network_mode: service:tor