-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 977 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 977 Bytes
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
version: '2'
services:
frontend:
build: ./
ports:
- 3005:3000
command: bash -c 'yarn && yarn start'
volumes:
- ./:/app
environment:
API_URL: http://localhost:3003/
# REACT_APP_BACKEND_URL: http://localhost:3003/
REACT_APP_BACKEND_URL:
links:
- backend
stdin_open: true
# mongo:
# image: mongo
# ports:
# - "27017:27017"
# volumes:
# - ../step-api/:/app
# # restart: always
# # environment:
# # MONGO_INITDB_ROOT_USERNAME: root
# # MONGO_INITDB_ROOT_PASSWORD: root
# backend:
# build: ../step-api/
# ports:
# - 3003:3003
# command: npm run dev
# volumes:
# - ../step-api/:/app
# environment:
# DB_URL: mongodb://mongo:27017/stepX
# depends_on:
# - mongo