forked from coinchimp/kaspool-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
115 lines (108 loc) · 2.34 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
# version 0.4
services:
postgres:
image: postgres
container_name: katpool-db
networks:
- backend
volumes:
- ./postgres_data:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
env_file:
- .env
restart: always
katpool-app:
image: ghcr.io/argonmining/katpool-app:v2408.1b-main
pull_policy: always
container_name: katpool-app
depends_on:
- postgres
- katpool-monitor
- pushgateway
ports:
- "7777:7777"
networks:
- backend
volumes:
- ./config:/app/config
- ./wasm:/app/wasm
env_file:
- .env
restart: always
katpool-monitor:
image: ghcr.io/argonmining/katpool-monitor:v2408.1b-main
pull_policy: always
container_name: katpool-monitor
depends_on:
- postgres
networks:
- backend
env_file:
- .env
ports:
- "9301:9301"
- "9300:9300"
restart: always
katpool-payment:
image: ghcr.io/argonmining/katpool-payment:v2408.1b-main
pull_policy: always
container_name: katpool-payment
depends_on:
- postgres
volumes:
- ./config:/app/config
- ./wasm:/app/wasm
networks:
- backend
env_file:
- .env
restart: always
prometheus:
image: prom/prometheus
container_name: katpool-prmths
depends_on:
- postgres
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus_data:/prometheus
networks:
- backend
command:
- '--config.file=/etc/prometheus/prometheus.yml'
restart: always
pushgateway:
image: prom/pushgateway
container_name: katpool-pushgateway
networks:
- backend
restart: always
nginx:
container_name: katpool-nginx
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
# - ./htpasswd:/etc/nginx/.htpasswd
ports:
- "8080:8080"
networks:
- backend
depends_on:
- prometheus
- katpool-monitor
restart: always
# postgres-backup:
# image: katpool-backup:0.4
# container_name: katpool-backup
# depends_on:
# - postgres
# env_file:
# - .env
# volumes:
# - ./backup/files:/backup/files
# networks:
# - backend
# restart: always
networks:
backend:
driver: bridge
name: katpool-app_backend