forked from dgtlntv/vanilla-decap-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 986 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
38
39
40
41
version: "3.8"
services:
nginx:
image: nginx:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./ssl_certificates:/etc/ssl/certs
depends_on:
- vanilla
- oauth
oauth:
build:
context: ./oauth
dockerfile: Dockerfile
environment:
- NODE_ENV=production
- ORIGINS=www.dgtln.tv,dgtln.tv
- OAUTH_CLIENT_ID=788bff304c85caaea254
- OAUTH_CLIENT_SECRET=9a89c6dd284c6810f77803c3c411ee60ebcc03d0
expose:
- 3000
ports:
- "3000:3000"
vanilla:
build:
context: ./vanilla
dockerfile: Dockerfile
args:
BUILD_ID: test
environment:
- SECRET_KEY=insecure_dev_key
expose:
- 8101
ports:
- "8101:8101"