-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (41 loc) · 1.03 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
services:
influxdb:
image: influxdb:2.7.11@sha256:2205d18d52b9182e844bae113a4fc81360ce085c1c6b74c8ebc283bf66113087
hostname: influxdb
container_name: influxdb__influxdb
restart: unless-stopped
volumes:
- type: volume
source: influxdb_conf
target: /etc/influxdb2
- type: volume
source: influxdb_data
target: /var/lib/influxdb2
expose:
- 8086
networks:
- default
deploy:
resources:
limits:
memory: 2048m
cloudflared:
image: cloudflare/cloudflared:2024.6.0@sha256:8245fa2eeeabf437b061909cd59f123b39730f626bc676dc37cd3fb9f6880580
hostname: cloudflared
container_name: influxdb__cloudflared
restart: unless-stopped
command: tunnel run --token ${TUNNEL_TOKEN}
networks:
default:
deploy:
resources:
limits:
memory: 128m
volumes:
influxdb_conf:
name: influxdb__influxdb_conf
influxdb_data:
name: influxdb__influxdb_data
networks:
default:
name: influxdb__default