-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathdocker-compose.client.yml
72 lines (68 loc) · 1.69 KB
/
docker-compose.client.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
version: '3.5'
# Use this script for running up nightfall_3 client in 'developer' mode with local
# bindings. See the readme for more information.
services:
client:
image: ghcr.io/eyblockchain/nightfall3-client:latest
volumes:
- type: volume
source: build
target: /app/build
- type: volume
source: mongodb
target: /app/mongodb
networks:
- nightfall_network
ports:
- 27017:27017
- 8080:80
depends_on:
- worker
- rabbitmq
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
LOG_LEVEL: debug
ZOKRATES_WORKER_HOST: worker
RABBITMQ_HOST: amqp://rabbitmq
RABBITMQ_PORT: 5672
ENABLE_QUEUE: 1
USE_STUBS: 'false' # make sure this flag is the same as in deployer service
BLOCKCHAIN_URL: ${BLOCKCHAIN_URL}
USE_EXTERNAL_NODE: 'true'
AUTOSTART_RETRIES: 600
ETH_NETWORK: ${ETH_NETWORK}
CONTRACT_FILES_URL: ${CONTRACT_FILES_URL}
command: ['npm', 'run', 'dev']
rabbitmq:
image: rabbitmq
ports:
- '15674:15674'
- '5672:5672'
networks:
- nightfall_network
worker:
image: ghcr.io/eyblockchain/nightfall3-worker:latest
volumes:
- type: volume
source: proving_files
target: /app/output/
networks:
- nightfall_network
environment:
LOG_LEVEL: info
MPC: 'true'
ETH_NETWORK: ${ETH_NETWORK}
CIRCUIT_FILES_URL: ${CIRCUIT_FILES_URL}
volumes:
mongodb:
proving_files:
build:
networks:
nightfall_network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.238.0/24
gateway: 172.16.238.1