-
-
Notifications
You must be signed in to change notification settings - Fork 132
/
docker-compose-dev.yml
48 lines (46 loc) · 1.08 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
services:
app:
container_name: server
restart: always
build:
context: .
dockerfile: Dockerfile.server
args:
NODE_ENV: development
volumes:
- ./apps/server/src/:/app/apps/server/src/
links:
- mongo
depends_on:
- mongo
ports:
- "8080:8080"
environment:
LOG_LEVEL: debug
API_ENDPOINT: http://localhost:8080 # This MUST be included as a valid URL in the spotify dashboard
CLIENT_ENDPOINT: http://localhost:3000
# OFFLINE_DEV_ID: true
mongo:
image: mongo:6
logging:
driver: none
volumes:
- ./db_data:/data/db
ports:
- "27017:27017"
web:
container_name: web
restart: always
build:
context: .
dockerfile: Dockerfile.client
args:
NODE_ENV: development
volumes:
- ./apps/client/src:/app/apps/client/src/
- ./apps/client/public:/app/apps/client/public/
ports:
- "3000:3000"
environment:
NODE_ENV: development
API_ENDPOINT: http://localhost:8080