-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (43 loc) · 1.12 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
version: '3.9'
services:
nginx:
image: nginx:1.27.0@sha256:0f04e4f646a3f14bf31d8bc8d885b6c951fdcf42589d06845f64d18aec6a3c4d
hostname: nginx
container_name: nsws_archive__nginx
restart: unless-stopped
volumes:
- type: bind
source: ./content/
target: /usr/share/nginx/html
read_only: true
deploy:
resources:
limits:
memory: 128m
networks:
- default
cloudflared:
image: cloudflare/cloudflared:2024.6.0@sha256:8245fa2eeeabf437b061909cd59f123b39730f626bc676dc37cd3fb9f6880580
hostname: cloudflared
container_name: nsws_archive__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:
- nsws_archive__cloudflared
networks:
default:
name: nsws_archive__default
prometheus__cloudflared:
name: prometheus__cloudflared
external: true