-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
142 lines (133 loc) · 4.04 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
version: '3.3'
services:
browser-ide:
restart: always
container_name: browser-ide
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- 'browser-ide:/root'
- "./browser-ide/Caddyfile:/etc/Caddyfile"
- "./browser-ide/supervisor.conf:/etc/supervisor.conf"
image: 'tthebc01/browser-ide:latest'
expose:
- "8080"
- "8888"
networks:
- proxy-network
environment:
- AUTHP_ADMIN_USER=${AUTHP_ADMIN_USER}
- AUTHP_ADMIN_SECRET=${AUTHP_ADMIN_SECRET}
- AUTHP_ADMIN_EMAIL=${AUTHP_ADMIN_EMAIL}
- GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID}
- GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET}
- JWT_SHARED_KEY=${JWT_SHARED_KEY}
ipfs-node:
restart: always
container_name: ipfs_node
volumes:
- 'ipfs-staging:/export'
- 'ipfs-data:/data/ipfs'
expose:
- '4001'
- '4001/udp'
- '5001'
image: 'ipfs/go-ipfs:latest'
networks:
- proxy-network
glances-export:
restart: always
container_name: glances-export
image: 'nicolargo/glances:latest-full'
expose:
- "9091"
environment:
GLANCES_OPT: "--export prometheus --quiet"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./glances/glances.conf:/etc/glances.conf:ro"
pid: "host"
networks:
- proxy-network
glances:
restart: always
container_name: glances
image: 'nicolargo/glances:latest-full'
expose:
- "61208"
environment:
GLANCES_OPT: "-w"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
pid: "host"
networks:
- proxy-network
prometheus:
restart: always
image: prom/prometheus:latest
container_name: prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
volumes:
- "./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro"
- 'prometheus-data:/prometheus'
expose:
- "9090"
depends_on:
- cadvisor
- browser-ide
- glances
networks:
- proxy-network
cadvisor:
restart: always
image: gcr.io/cadvisor/cadvisor:latest
container_name: cadvisor
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
expose:
- "8080"
depends_on:
- browser-ide
- tunnel
- ipfs-node
networks:
- proxy-network
command:
- '-url_base_prefix=/cadvisor'
grafana:
restart: always
image: grafana/grafana-enterprise
container_name: grafana
volumes:
- grafana-storage:/var/lib/grafana
- "./grafana/grafana.ini:/etc/grafana/grafana.ini:ro"
- "./grafana/cloud-in-a-box-grafana.yaml:/etc/grafana/provisioning/dashboards/cloud-in-a-box-grafana.yaml"
- "./grafana/dashboards:/etc/grafana/dashboards"
- "./grafana/prom-data-source.yaml:/etc/grafana/provisioning/datasources/prom-data-source.yaml"
expose:
- "3000"
depends_on:
- prometheus
networks:
- proxy-network
tunnel:
restart: always
container_name: argo-tunnel
image: 'cloudflare/cloudflared:2024.4.1'
command: tunnel --no-autoupdate run --token ${TUNNEL_TOKEN}
networks:
- proxy-network
depends_on:
- browser-ide
volumes:
browser-ide:
ipfs-staging:
ipfs-data:
prometheus-data:
grafana-storage:
networks:
proxy-network:
name: proxy-network