mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.4 KiB
67 lines
1.4 KiB
4 years ago
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
ganache:
|
||
|
build: ganache
|
||
|
container_name: ganache
|
||
|
expose:
|
||
|
- 8545
|
||
|
ports:
|
||
|
- 8545:8545
|
||
|
user: root
|
||
|
volumes:
|
||
|
- ./volumes/ganache_db:/home/ganache_db
|
||
|
- ./volumes/ganache_keys:/home/ganache_keys
|
||
|
networks:
|
||
|
ganache-network:
|
||
|
restart: always
|
||
|
|
||
|
# Simple rendezvous server image
|
||
|
# Reference:
|
||
|
# https://hub.docker.com/r/libp2p/websocket-star-rendezvous
|
||
|
rendezvous:
|
||
|
image: libp2p/websocket-star-rendezvous:release
|
||
|
container_name: rendezvous
|
||
|
networks:
|
||
|
rendezvous-network:
|
||
|
ports:
|
||
|
- 9090:9090
|
||
|
restart: always
|
||
|
|
||
|
concordia-contracts:
|
||
|
build:
|
||
|
dockerfile: ./docker/concordia-contracts/Dockerfile
|
||
|
context: ./..
|
||
|
args:
|
||
|
TZ: Europe/Athens
|
||
|
SKIP_TESTS: "true"
|
||
|
container_name: concordia-contracts
|
||
|
env_file:
|
||
|
- ./env/contracts.env
|
||
|
depends_on:
|
||
|
- ganache
|
||
|
networks:
|
||
|
ganache-network:
|
||
|
|
||
|
concordia-app:
|
||
|
build:
|
||
|
dockerfile: ./docker/concordia-app/Dockerfile
|
||
|
context: ./..
|
||
|
args:
|
||
|
TZ: Europe/Athens
|
||
|
SKIP_TESTS: "true"
|
||
|
container_name: concordia-app
|
||
|
depends_on:
|
||
|
- concordia-contracts
|
||
|
- rendezvous
|
||
|
env_file:
|
||
|
- ./env/concordia.env
|
||
|
networks:
|
||
|
ganache-network:
|
||
|
ports:
|
||
|
- 3000:80
|
||
|
restart: always
|
||
|
|
||
|
networks:
|
||
|
ganache-network:
|
||
|
rendezvous-network:
|