-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.flextesa.yml
82 lines (77 loc) · 1.77 KB
/
docker-compose.flextesa.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
version: "3.6"
services:
db:
image: timescale/timescaledb:latest-pg15
shm_size: 1g
restart: always
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=bcd
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- db:/var/lib/postgresql/data
logging: &bcd-logging
options:
max-size: 10m
max-file: "5"
api:
restart: always
image: ghcr.io/baking-bad/bcdhub-api:${TAG}
environment:
- BCD_ENV=sandbox
- GIN_MODE=debug
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- SANDBOX_NODE_URI=http://sandbox:20000
- SANDBOX_IPFS_GATEWAY=https://cloudflare-ipfs.com
depends_on:
- db
ports:
- 127.0.0.1:14000:14000
volumes:
- bcdshare:/etc/bcd
links:
- "flextesa:sandbox"
logging: *bcd-logging
indexer:
restart: always
image: ghcr.io/baking-bad/bcdhub-indexer:${TAG}
environment:
- BCD_ENV=sandbox
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- SANDBOX_NODE_URI=http://sandbox:20000
- SANDBOX_IPFS_GATEWAY=https://cloudflare-ipfs.com
depends_on:
- db
links:
- "flextesa:sandbox"
volumes:
- bcdshare:/etc/bcd
logging: *bcd-logging
flextesa:
restart: always
image: oxheadalpha/flextesa:test-multi-arch-00
command: hangzbox start
environment:
- block_time=4
- flextesa_node_cors_origin=*
ports:
- 127.0.0.1:20000:20000
expose:
- 20000/tcp
logging: *bcd-logging
gui:
container_name: sandbox-gui
restart: always
image: ghcr.io/baking-bad/bcdhub-gui:${TAG}
depends_on:
- api
ports:
- 127.0.0.1:8000:80
logging: *bcd-logging
volumes:
bcdshare:
db:
driver: local