-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
79 lines (72 loc) · 1.61 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
79 lines (72 loc) · 1.61 KB
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
version: "3.1"
services:
# zookeeper:
# image: "zookeeper:latest"
# ports:
# - "2181:2181"
# environment:
# ZOO_MY_ID: 1
# ZOO_PORT: 2181
# ALLOW_ANONYMOUS_LOGIN: "yes"
# restart: always
# zoonavigator:
# image: elkozmon/zoonavigator
# environment:
# CONNECTION_MYZK_CONN: "zookeeper:2181"
# AUTO_CONNECT_CONNECTION_ID: "MYZK"
# depends_on:
# - zookeeper
# ports:
# - 9000:9000
# restart: always
# dozzle:
# image: amir20/dozzle:latest
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# ports:
# - 9999:8080
nginx:
image: nginx:alpine
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "8080:80"
restart: always
store:
# hostname: store
image: ghcr.io/andrew-delph/main:store_image
scale: 5
depends_on:
# - zookeeper
- nginx
restart: always
tmpfs:
- /data/:size=300m,mode=1777
# volumes:
# - /tmp/store_data:/store
store-profile:
image: busybox
command: ["sleep", "1"]
restart: "no"
# store-profile:
# # hostname: store
# # scale: 1
# image: ghcr.io/andrew-delph/main:store_image
# environment:
# - PROFILE_SERVER=true
# - BOOTSTRAP_TIMEOUT=1
# ports:
# - "6060:6060"
# depends_on:
# - nginx
# restart: always
# # tmpfs:
# # - /store:size=300m,mode=1777
# # volumes:
# # - /tmp/store_data:/store
prometheus:
image: prom/prometheus
ports:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml