-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
63 lines (59 loc) · 1.76 KB
/
docker-compose.dev.yml
File metadata and controls
63 lines (59 loc) · 1.76 KB
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
---
# override/additions to docker-compose.yml for development
#
# Override the image name since it is local only, not intended to be pushed to github.
# Specify dev specific build and run settings
# The builds use local contexts and special Dockerfiles
# Running maps some ports for dev access, binds local repo directories
# so changes are seen by the running containers.
# because these setting need to not exist for production they
# have to be defined here and not in the base docker-compose.yml.
#
# The local/context bound volumes can be overridden if the defaults aren't
# appropriate using these env vars:
# - RIFF_SERVER_PATH
# - RIFF_RTC_PATH
# - SIGNALMASTER_PATH
version: '3.7'
services:
pfm-riffdata:
image: 'rifflearning/riffdata:dev'
build:
context: ${RIFF_SERVER_PATH-../riff-server}/docker
dockerfile: Dockerfile-dev
args:
NODE_VER: 16
PORT: 3000
ports:
- '3000:3000'
volumes:
- ${RIFF_SERVER_PATH-../riff-server}:/app
pfm-riffrtc:
image: 'rifflearning/riffrtc:dev'
build:
context: ${RIFF_RTC_PATH-../riff-rtc}/docker
dockerfile: Dockerfile-dev
args:
NODE_VER: 16
PORT: 3001
volumes:
- ${RIFF_RTC_PATH-../riff-rtc}:/app
pfm-web:
image: 'rifflearning/pfm-web:dev'
build:
context: pfm-web
dockerfile: Dockerfile-dev
args:
NGINX_VER: latest
volumes:
- ${RIFF_RTC_PATH-../riff-rtc}/build:/usr/share/nginx/html/rtc:ro
# pfm-signalmaster:
# image: 'rifflearning/signalmaster:dev'
# build:
# context: ${SIGNALMASTER_PATH-../signalmaster}/docker
# dockerfile: Dockerfile-dev
# volumes:
# - ${SIGNALMASTER_PATH-../signalmaster}:/app
pfm-riffdata-db:
ports:
- '27017:27017'