-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
32 lines (30 loc) · 1022 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
version: "3.8"
services:
nginx:
image: auddyhub/mern-nginx:latest
restart: always
depends_on:
- frontend
- backend
ports:
- "80:80"
frontend:
image: auddyhub/mern-frontend:latest
environment:
- CHOKIDAR_USEPOLLING=true
backend:
image: auddyhub/mern-backend:latest
environment:
- FRONTEND_URI=${FRONTEND_URI}
- SERVER_URI=${SERVER_URI}
- PORT=${PORT}
- DB_URI=${DB_URI}
- COOKIE_NAME=${COOKIE_NAME}
- COOKIE_SECRET=${COOKIE_SECRET}
- SENDGRID_API_KEY=${SENDGRID_API_KEY}
- FACEBOOK_APP_ID=${FACEBOOK_APP_ID}
- FACEBOOK_APP_SECRET=${FACEBOOK_APP_SECRET}
- FACEBOOK_CALLBACK_ROUTE=${FACEBOOK_CALLBACK_ROUTE}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
- GOOGLE_CALLBACK_ROUTE=${GOOGLE_CALLBACK_ROUTE}