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