-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
executable file
·39 lines (35 loc) · 1.08 KB
/
docker-compose.example.yml
File metadata and controls
executable file
·39 lines (35 loc) · 1.08 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
services:
backend:
container_name: rdv-backend
build: ./backend
ports:
- "3001:3001"
depends_on:
- redis
environment:
- APP_SECRET=a1b2c3d4e5f67890123456789abcdef0123456789abcdef0123456789abcdef
- FRONTEND_URL=http://localhost
# Optionnel
#- SPOTIFY_CLIENT_ID=
#- SPOTIFY_CLIENT_SECRET=
#- SPOTIFY_REDIRECT_URI=http://127.0.0.1:3001/api/spotify/callback
frontend:
container_name: rdv-frontend
build:
context: ./frontend
args:
- VITE_BACKEND_URL=http://localhost:3001
- VITE_ADMIN_PASSWORD=secret
- VITE_OPERATOR_PASSWORD=operator
- VITE_APP_SECRET=a1b2c3d4e5f67890123456789abcdef0123456789abcdef0123456789abcdef
- VITE_BRAND=default
# Optionnel
# - VITE_SPOTIFY_CLIENT_ID=2157f438f5034a325481be9b9f3f215a
ports:
- "80:80"
redis:
image: redis:latest
container_name: rdv-redis
# Use docker native volume if you want to deploy on a cluster instead of bind mount
volumes:
- ./data:/data