mirror of
https://github.com/luxfi/teleporter.git
synced 2026-10-30 15:15:46 +00:00
74 lines
2.0 KiB
YAML
Executable File
74 lines
2.0 KiB
YAML
Executable File
services:
|
|
sm-manager:
|
|
build:
|
|
context: .
|
|
dockerfile: ./services/sm-manager
|
|
ports:
|
|
- 8000:8000
|
|
networks:
|
|
- lux-network
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
mpc-node-0:
|
|
build:
|
|
context: .
|
|
dockerfile: ./services/mpc-node-0
|
|
environment:
|
|
- NODE_ENV=production
|
|
- smTimeOutBound=3
|
|
- sign_client_name=gg18_sign_client
|
|
- node_number=0
|
|
- sign_sm_manager=http://sm-manager:8000/
|
|
- PORT=6000
|
|
ports:
|
|
- 6000:6000
|
|
networks:
|
|
- lux-network
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
mpc-node-1:
|
|
build:
|
|
context: .
|
|
dockerfile: ./services/mpc-node-1
|
|
environment:
|
|
- NODE_ENV=production
|
|
- smTimeOutBound=3
|
|
- sign_client_name=gg18_sign_client
|
|
- node_number=1
|
|
- sign_sm_manager=http://sm-manager:8000/
|
|
- PORT=6001
|
|
ports:
|
|
- 6001:6001
|
|
networks:
|
|
- lux-network
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
mpc-node-2:
|
|
build:
|
|
context: .
|
|
dockerfile: ./services/mpc-node-2
|
|
environment:
|
|
- NODE_ENV=production
|
|
- smTimeOutBound=3
|
|
- sign_client_name=gg18_sign_client
|
|
- node_number=2
|
|
- sign_sm_manager=http://sm-manager:8000/
|
|
- PORT=6002
|
|
ports:
|
|
- 6002:6002
|
|
networks:
|
|
- lux-network
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
networks:
|
|
lux-network:
|
|
driver: bridge
|