-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (35 loc) · 939 Bytes
/
docker-compose.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
version: '3.8'
services:
backend:
image: ${DOCKER_USERNAME}/langjam-backend
ports:
- "3000:3000"
environment:
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- MONGO_URI=${MONGO_URI}
- MONGO_PW=${MONGO_PW}
- PORT=${PORT}
- JWT_KEY=${JWT_KEY}
- JWT_VERIFY_KEY=${JWT_VERIFY_KEY}
- JWT_ADMIN_KEY=${JWT_ADMIN_KEY}
- GEMINI_KEY=${GEMINI_KEY}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- REDIS_URI=${REDIS_URI}
- OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID}
- OAUTH_CLIENT_SECRET=${OAUTH_CLIENT_SECRET}
- CLIENT_URL=${CLIENT_URL}
- NODE_ENV=${NODE_ENV}
volumes:
- /app/node_modules
- ./backend:/app
frontend:
image: ${DOCKER_USERNAME}/langjam-frontend
ports:
- "80:80"
volumes:
- /app/node_modules
- ./frontend:/app
environment:
- VITE_REACT_APP_API_URL=${VITE_REACT_APP_API_URL}
depends_on:
- backend