-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 887 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
services:
backend:
build:
context: .
dockerfile: Dockerfile.backend
container_name: musync-backend
ports:
- "5001:5001"
volumes:
- ./tokens.json:/app/tokens.json
- ./playlists.json:/app/playlists.json
- ./credentials.json:/app/credentials.json
- ./client.json:/app/client.json
- ./yt_creds.pkl:/app/yt_creds.pkl
environment:
- MUSYNC_AUTH_SERVER=${MUSYNC_AUTH_SERVER:-https://musync-k60r.onrender.com}
- CLIENT_ID=${CLIENT_ID}
- CLIENT_SECRET=${CLIENT_SECRET}
- GOOGLE_OAUTH_CLIENT_FILE=${GOOGLE_OAUTH_CLIENT_FILE:-client.json}
restart: unless-stopped
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
container_name: musync-frontend
ports:
- "3000:80"
depends_on:
- backend
restart: unless-stopped
volumes:
tokens:
playlists: