-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (57 loc) · 1.61 KB
/
Copy pathdocker-compose.yml
File metadata and controls
59 lines (57 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
name: hyperbeam-docker
# HyperBEAM AO mainnet node built with the default rebar3 profile — the lua
# device (~lua@5.3a) is the compute method. Pinned to v0.9-FINAL via the
# Dockerfile's VERSION build arg; override it to build another tag/SHA.
services:
hyperbeam:
build:
context: .
dockerfile: ./Dockerfile
target: build
command: rebar3 shell
ports:
- 8734:8734
volumes:
- hyperbeam:/app/cache-mainnet
- ./config.flat:/app/config.flat:ro,z
- ${WALLET_FILE}:/app/wallet.json:ro,z
hyperbeam-ephemeral:
build:
context: .
dockerfile: ./Dockerfile
target: build
env_file:
- path: .env
required: false
command: rebar3 shell
ports:
- 8734:8734
volumes:
- ./config.flat:/app/config.flat:ro,z
- ${WALLET_FILE}:/app/wallet.json:ro,z
hyperbeam-release:
build:
context: .
dockerfile: ./Dockerfile
ports:
- 8734:8734
volumes:
# The release runs with cwd /app/_build/default/rel/hb, so cache-mainnet
# is created there.
- hyperbeam-release:/app/_build/default/rel/hb/cache-mainnet
- ./config.release.flat:/app/_build/default/rel/hb/config.flat:ro,z
- ${WALLET_FILE}:/app/_build/default/rel/hb/wallet.json:ro,z
hyperbeam-release-ephemeral:
build:
context: .
dockerfile: ./Dockerfile
ports:
- 8734:8734
volumes:
- ./config.release.flat:/app/_build/default/rel/hb/config.flat:ro,z
- ${WALLET_FILE}:/app/_build/default/rel/hb/wallet.json:ro,z
volumes:
hyperbeam:
driver: local
hyperbeam-release:
driver: local