-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
73 lines (68 loc) · 1.86 KB
/
docker-compose.dev.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: '3.7'
services:
ipfs-node:
container_name: "stellot-ipfs-node-dev"
image: ipfs/go-ipfs
volumes: # https://github.com/ipfs/go-ipfs#running-ipfs-inside-docker
- $DOCKER_VOLUMES/stellot-ipfs-dev/data:/data/ipfs
- $DOCKER_VOLUMES/stellot-ipfs-dev/staging:/export
ports: # https://github.com/ipfs/go-ipfs/blob/master/Dockerfile#L74
- $IPFS_SWARM_PORT:4001
- $IPFS_WEB_GATEWAY:8080
- $IPFS_SWARM_WEBSOCKET:8081
mongo:
container_name: "stellot-tds-mongodb-dev"
image: mongo:latest
restart: 'unless-stopped'
volumes:
- $DOCKER_VOLUMES/stellot-tds-dev:/data/db
tds:
container_name: "stellot-tds-dev"
build:
context: tds
dockerfile: Dockerfile
env_file: ./tds/.env
command: npm run start:dev
ports:
- $TDS_PORT:8080
volumes:
- ./tds/src:/server/src
restart: 'unless-stopped'
environment:
- KEYBASE_AUTH_SERVER_URL=http://keybase-auth:$KEYBASE_AS_PORT
- EMAILS_AUTH_SERVER_URL=http://emails-auth:$EMAILS_AS_PORT
- IPFS_NODE_URL=http://ipfs-node:5001
links:
- mongo
- keybase-auth
- emails-auth
- ipfs-node
depends_on:
- mongo
- keybase-auth
- emails-auth
- ipfs-node
keybase-auth:
container_name: "stellot-keybase-auth-dev"
build:
context: keybase-auth
dockerfile: Dockerfile
env_file: ./keybase-auth/.env
command: npm run start:dev
volumes:
- ./keybase-auth/src:/server/src
ports:
- $KEYBASE_AS_PORT:8080
restart: 'unless-stopped'
emails-auth:
container_name: "stellot-emails-auth-dev"
build:
context: emails-auth
dockerfile: Dockerfile
env_file: ./emails-auth/.env
command: npm run start:dev
volumes:
- ./emails-auth/src:/server/src
ports:
- $EMAILS_AS_PORT:8080
restart: 'unless-stopped'