-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
38 lines (38 loc) · 1.49 KB
/
docker-compose.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
builder:
build: ./
stdin_open: true
tty: true
dockerfile: docker/Dockerfile.builder
links:
- ganache
environment:
SET_CONTAINER_TIMEZONE: 'True'
CONTAINER_TIMEZONE: Europe/Prague
env_file:
.env
volumes:
- "./build/original:/marblegame/original/build"
- "./build/bank:/marblegame/bank/build"
- "./build/metatransactions:/marblegame/metatransactions/build"
- "./build/erc20:/marblegame/erc20/build"
- "./src/original/contracts:/marblegame/original/contracts"
- "./src/original/deployments:/marblegame/original/deployments"
- "./src/original/migrations:/marblegame/original/migrations"
- "./src/original/test:/marblegame/original/test"
- "./src/bank/contracts:/marblegame/bank/contracts"
- "./src/bank/migrations:/marblegame/bank/migrations"
- "./src/bank/test:/marblegame/bank/test"
- "./src/metatransactions/contracts:/marblegame/metatransactions/contracts"
- "./src/metatransactions/deployments:/marblegame/metatransactions/deployments"
- "./src/metatransactions/migrations:/marblegame/metatransactions/migrations"
- "./src/metatransactions/test:/marblegame/metatransactions/test"
- "./src/erc20/contracts:/marblegame/erc20/contracts"
- "./src/erc20/migrations:/marblegame/erc20/migrations"
ganache:
image: trufflesuite/ganache-cli:latest
command: ganache -p 8545 -h 0.0.0.0 --mnemonic "${mnemonic}" --blockTime 5
ports:
- 8545:8545
environment:
SET_CONTAINER_TIMEZONE: 'True'
CONTAINER_TIMEZONE: Europe/Prague