2021-09-03 11:27:27 -07:00
|
|
|
# Start the service with the command 'docker-compose up -d'
|
2021-08-26 09:21:08 -07:00
|
|
|
|
2021-12-29 17:46:05 -08:00
|
|
|
version: '3.9'
|
2021-08-26 09:21:08 -07:00
|
|
|
|
2021-09-03 11:27:27 -07:00
|
|
|
services:
|
2024-12-16 17:53:36 -08:00
|
|
|
mongo-dex:
|
2022-07-25 17:40:05 -07:00
|
|
|
image: mongo:4.2.0
|
2024-12-16 17:53:36 -08:00
|
|
|
container_name: mongo-dex
|
2021-09-03 11:27:27 -07:00
|
|
|
ports:
|
2022-03-25 18:45:32 -07:00
|
|
|
- '5666:27017' # <host port>:<container port>
|
2021-09-03 11:27:27 -07:00
|
|
|
volumes:
|
|
|
|
|
- ../data/database:/data/db
|
|
|
|
|
command: mongod --logpath=/dev/null # -- quiet
|
|
|
|
|
restart: always
|
2021-08-26 09:21:08 -07:00
|
|
|
|
2022-03-25 18:45:32 -07:00
|
|
|
bch-dex:
|
2024-12-16 17:53:36 -08:00
|
|
|
build:
|
|
|
|
|
context: ./bch-dex/
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
#image: christroutner/bch-dex:v2.2.4
|
2022-03-25 18:45:32 -07:00
|
|
|
container_name: bch-dex
|
2022-05-01 13:13:59 -07:00
|
|
|
environment:
|
|
|
|
|
CONSUMER_URL: 'https://free-bch.fullstack.cash'
|
2022-03-25 18:45:32 -07:00
|
|
|
logging:
|
|
|
|
|
driver: 'json-file'
|
|
|
|
|
options:
|
|
|
|
|
max-size: '10m'
|
|
|
|
|
max-file: '10'
|
|
|
|
|
mem_limit: 1000mb
|
|
|
|
|
links:
|
2024-12-16 17:53:36 -08:00
|
|
|
- mongo-dex
|
|
|
|
|
#- p2wdb
|
2022-03-25 18:45:32 -07:00
|
|
|
ports:
|
2025-02-23 10:34:00 -07:00
|
|
|
# <host port>:<container port>
|
2025-04-10 17:57:44 -07:00
|
|
|
- '5700:5700' # REST API
|
2025-02-23 10:34:00 -07:00
|
|
|
- '4001:4001' # TCP
|
|
|
|
|
- '4003:4003' # Websockets
|
|
|
|
|
- '4005:4005' # WebRTC
|
|
|
|
|
|
2022-05-01 09:27:52 -07:00
|
|
|
volumes:
|
|
|
|
|
- ../scripts/wallet.json:/home/safeuser/bch-dex/wallet.json
|
2022-06-29 17:29:23 -07:00
|
|
|
- ./bch-dex/start-production.sh:/home/safeuser/bch-dex/start-production.sh
|
2022-03-27 13:47:05 -07:00
|
|
|
restart: always
|
2022-03-25 18:45:32 -07:00
|
|
|
|
|
|
|
|
dex-ui:
|
2024-12-16 17:53:36 -08:00
|
|
|
build:
|
|
|
|
|
context: ./bch-dex-ui/
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
#image: christroutner/bch-dex-ui:v1.2.4
|
2022-03-25 18:45:32 -07:00
|
|
|
container_name: dex-ui
|
2022-03-31 18:48:05 -07:00
|
|
|
environment:
|
2024-12-16 17:53:36 -08:00
|
|
|
SERVER: 'http://172.17.0.1'
|
2022-03-25 18:45:32 -07:00
|
|
|
logging:
|
|
|
|
|
driver: 'json-file'
|
|
|
|
|
options:
|
|
|
|
|
max-size: '10m'
|
|
|
|
|
max-file: '10'
|
2024-11-22 10:54:21 -08:00
|
|
|
mem_limit: 1000mb
|
2022-03-25 18:45:32 -07:00
|
|
|
links:
|
|
|
|
|
- bch-dex
|
|
|
|
|
ports:
|
|
|
|
|
- '4500:80' # <host port>:<container port>
|
|
|
|
|
# volumes:
|
|
|
|
|
# - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
|
2022-03-27 13:47:05 -07:00
|
|
|
restart: always
|