-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (41 loc) · 1.07 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
version: '3.9'
services:
nginx:
image: nginx:1.27.3@sha256:42e917aaa1b5bb40dd0f6f7f4f857490ac7747d7ef73b391c774a41a8b994f15
hostname: nginx
container_name: hpvectormirror__nginx
restart: unless-stopped
volumes:
- type: bind
source: ./nginx.conf
target: /etc/nginx/nginx.conf
read_only: true
- type: bind
source: ./hp.vector.co.jp
target: /hp.vector.co.jp
read_only: true
deploy:
resources:
limits:
memory: 128m
networks:
- default
cloudflared:
image: cloudflare/cloudflared:2024.12.2@sha256:cb38f3f30910a7d51545118a179b8516eb7066eac61855d62ce6ed733c54ce70
hostname: cloudflared
container_name: hpvectormirror__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:
networks:
default:
name: hpvectormirror__default