-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 807 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 807 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
services:
# Cloudflare Tunnel
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
command: tunnel --no-autoupdate run --token ${CLOUDFLARE_TOKEN}
restart: unless-stopped
environment:
- CLOUDFLARE_TOKEN=${CLOUDFLARE_TOKEN}
networks:
- cf
dns:
- 8.8.8.8
- 1.1.1.1
# Nginx Proxy Manager (NPM)
npm:
image: jc21/nginx-proxy-manager:latest
container_name: nginx-proxy-manager
restart: unless-stopped
networks:
- cf
- services
volumes:
- ./data/npm:/data
- ./data/letsencrypt:/etc/letsencrypt
environment:
DB_SQLITE_FILE: "/data/database.sqlite"
ports:
- 81:81
dns:
- 8.8.8.8
- 1.1.1.1
networks:
cf:
name: cf
services:
name: services