-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (53 loc) · 1.23 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '2'
services:
node:
image: node:8-alpine
user: node
working_dir: /home/node/app
env_file:
- .env
volumes:
- ./:/home/node/app
ports:
- 3000:3000
command: npm run docker-watch
# depends_on:
# - mongodb
# - postgres
# mongodb:
# image: mongo:latest # mongo-alpine doesn't work correctly
# environment:
# - MONGO_DATA_DIR=/data/db
# - MONGO_LOG_DIR=/dev/null
# volumes:
# - ./data/mongo:/data
# ports:
# - 27017:27017
# command: mongod --smallfiles --logpath=/dev/null # quiet
# postgres:
# build:
# context: ./docker/images/postgres
# volumes:
# - willcoin_postgres:/var/lib/postgresql/data
# env_file:
# - docker/env/postgres.dev.env
# ports:
# - 5432:5432
# geth:
# image: ethereum/client-go:alpine
# command: "--fast --rpc --rpcaddr '0.0.0.0' --testnet"
# labels:
# - com.storm.type=eth
# environment:
# - affinity:com.storm.type!=eth
# environment:
# SERVICE_NAME: eth
# SERVICE_TAGS: testnet
# volumes:
# - ethereum_volume:/root
# ports:
# - 8545:8545
# - 30303:30303
# volumes:
# willcoin_postgres:
# ethereum_volume: