-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
35 lines (35 loc) · 875 Bytes
/
docker-compose-dev.yml
File metadata and controls
35 lines (35 loc) · 875 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
version: '2'
services:
testable:
extends:
file: ./docker-compose.yml
service: testable
environment:
- REACT_APP_FIREBASE_JSON=$REACT_APP_FIREBASE_JSON
- REACT_APP_RANKING_API=$REACT_APP_RANKING_API
- REACT_APP_SURVEY_URL=$REACT_APP_SURVEY_URL
- REACT_APP_SHOW_SURVEY=$REACT_APP_SHOW_SURVEY
- REACT_APP_DEBUG=$REACT_APP_DEBUG
- PORT=$TESTABLE_PORT
- PUBLIC_URL=$PUBLIC_URL
volumes:
- ./webapp:/var/www/app
command: npm run start
stdin_open: true
docs:
image: node:14-slim
working_dir: /docs
volumes:
- ./webapp:/docs
ports:
- "6060:6060"
command: npm run docs
ranking:
extends:
file: ./docker-compose.yml
service: ranking
build:
context: ./ranking-api
volumes:
- ./ranking-api:/var/www/ranking_api
command: npm run dev