Repository navigation
Expand file tree
/
Copy pathcompose.yaml
More file actions
49 lines (45 loc) · 1.51 KB
/
Copy pathcompose.yaml
File metadata and controls
49 lines (45 loc) · 1.51 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
services:
proxy:
image: 'jc21/nginx-proxy-manager:latest'
container_name: nginx-proxy-manager
restart: unless-stopped
network_mode: host
volumes:
- data:/data
- letsencrypt:/etc/letsencrypt
healthcheck:
test: ["CMD", "/usr/bin/check-health"]
interval: 10s
timeout: 3s
ddns:
image: favonia/cloudflare-ddns:latest
container_name: cloudflare-ddns
# network_mode: host # This bypasses network isolation and makes IPv6 easier (optional; see below)
restart: unless-stopped
user: "1000:1000" # Run the updater with specific user and group IDs (in that order).
read_only: true # Make the container filesystem read-only (optional but recommended)
cap_drop: [all] # Drop all Linux capabilities (optional but recommended)
security_opt: [no-new-privileges:true] # Another protection to restrict superuser privileges (optional but recommended)
environment:
- CLOUDFLARE_API_TOKEN=KEY
- DOMAINS=example.com,jellyfin.example.com
- PROXIED=true
- IP6_PROVIDER=none
twingate_connector:
container_name: twingate_connector
restart: always
image: "twingate/connector:latest"
environment:
- TWINGATE_NETWORK=<TENANT NAME>
- TWINGATE_ACCESS_TOKEN=<ACCESS TOKEN>
- TWINGATE_REFRESH_TOKEN=<REFRESH TOKEN>
# For testing the proxy
helloworld:
image: 'karthequian/helloworld:latest'
container_name: helloworld
restart: unless-stopped
ports:
- 8888:80/tcp
volumes:
data:
letsencrypt: