-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (49 loc) · 1.25 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
version: '3.9'
services:
nginx:
image: nginx:1.27.3@sha256:42e917aaa1b5bb40dd0f6f7f4f857490ac7747d7ef73b391c774a41a8b994f15
hostname: nginx
container_name: gs724tproxy__nginx
restart: unless-stopped
volumes:
- type: bind
source: ./nginx.conf
target: /etc/nginx/nginx.conf
read_only: true
- type: volume
source: cache_data
target: /var/cache/nginx
deploy:
resources:
limits:
memory: 128m
networks:
- default
cloudflared:
image: cloudflare/cloudflared:2024.6.1@sha256:b809ea110a98112b0ed98b7d976e373c70321541f1a8f592e7932dd63cbf6c5a
hostname: cloudflared
container_name: gs724tproxy__cloudflared
restart: unless-stopped
environment:
TUNNEL_METRICS: 0.0.0.0:9126
TUNNEL_LOGFILE: /dev/stdout
command: tunnel run --token ${TUNNEL_TOKEN}
user: root
deploy:
resources:
limits:
memory: 128m
networks:
default:
prometheus__cloudflared:
aliases:
- gs724tproxy__cloudflared
volumes:
cache_data:
name: gs724tproxy__cache_data
networks:
default:
name: gs724tproxy__default
prometheus__cloudflared:
name: prometheus__cloudflared
external: true