-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (48 loc) · 1.13 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
version: "3.7"
services:
mempool-web:
restart: on-failure
depends_on:
- mempool-api
environment:
FRONTEND_HTTP_PORT: "8080"
BACKEND_MAINNET_HTTP_HOST: "mempool-api"
image: mempool/frontend:latest
ports:
- 8080:8080
networks:
- nigiri
mempool-api:
depends_on:
- mempool-db
environment:
MEMPOOL_BACKEND: "electrum"
ELECTRUM_HOST: "electrs"
ELECTRUM_PORT: "50000"
ELECTRUM_TLS_ENABLED: "false"
CORE_RPC_HOST: "bitcoin"
CORE_RPC_PORT: "18443"
CORE_RPC_USERNAME: "admin1"
CORE_RPC_PASSWORD: "123"
DATABASE_ENABLED: "true"
DATABASE_HOST: "mempool-db"
DATABASE_DATABASE: "mempool"
DATABASE_USERNAME: "mempool"
DATABASE_PASSWORD: "mempool"
STATISTICS_ENABLED: "true"
image: mempool/backend:latest
restart: on-failure
networks:
- nigiri
mempool-db:
environment:
MYSQL_DATABASE: "mempool"
MYSQL_USER: "mempool"
MYSQL_PASSWORD: "mempool"
MYSQL_ROOT_PASSWORD: "admin"
image: mariadb:10.5.8
networks:
- nigiri
networks:
nigiri:
external: true