-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose_dev.yml
48 lines (44 loc) · 1.01 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
# This file is used for development, not for production!
version: "3.4"
services:
# frontend:
# build:
# context: .
# dockerfile: ./dev-support/frontend/Dockerfile
# ports:
# - "3000:3000"
# environment:
# - REACT_APP_API_HOST=backend
# volumes:
# - .:/app
# - /app/node_modules
# links:
# - "backend"
# backend:
# build:
# context: .
# dockerfile: ./dev-support/backend/Dockerfile
# ports:
# - "8000:8000"
# environment:
# - DISTRIBUTE_SERVER_HOST=distribute-server
# - DISTRIBUTE_SERVER_PORT=8001
# links:
# - "distribute-server"
mongodb:
image: mongo:5.0.2
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=pa55w0rd
redisdb:
image: redis
ports:
- "6379:6379"
# distribute-server:
# build:
# context: .
# dockerfile: ./dev-support/distribute-server/Dockerfile
# ports:
# - "8001:8001"