-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
55 lines (52 loc) · 1.44 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '3.8'
services:
nginx:
image: ucfopen/obojobo:nginx-dev
build:
context: .
dockerfile: dockerfiles/obojobo-nginx-alpine.Dockerfile
restart: unless-stopped
ports:
- "80:80"
networks:
- frontend
depends_on:
- app
app:
image: ucfopen/obojobo:app-dev
build:
context: ../
dockerfile: docker/dockerfiles/obojobo-node-debian.Dockerfile
restart: unless-stopped
environment:
NODE_ENV: production
PORT: 3000
SECRET_SOURCE: none
DB_USER: postgres
DB_PASS: mysecretpassword
DB_HOST: host.docker.internal
DB_NAME: postgres
DB_PORT: 5432
DB_SSL_JSON: 'false'
OBO_LTI_KEYS_JSON: '{"obo-production-lti-key":"CHANGE_THIS_VALUE_NOW"}'
OBO_LTI_USERNAME_PARAM: user_id
OBO_COOKIE_SECRET: REPLACE_ME_WITH_YOUR_SECRET
OBO_COOKIE_SECURE: 'true'
DEBUG: obojobo_server:error,obojobo_server:warn
YARN_PRODUCTION: 'true'
OBO_DEMO_PURGE_MODE: disabled
OBO_DEMO_PURGE_DAYS_AGO: 7
OBO_EDITLOCK_TIME_UNTIL_RELEASE_MINUTES: 45
OBO_EDITLOCK_TIME_UNTIL_WARN_MINUTES: 40
OBO_EDITLOCK_DB_LOCK_DURATION: 5
MATERIA_OAUTH_KEY: materia-lti-key
MATERIA_OAUTH_SECRET: materia-lti-secret
MATERIA_HOST: https://localhost
OBO_OPTIONAL_NODES: "*"
PM2_APP_INSTANCES: 1
PM2_APP_MAX_MEMORY: 175M
networks:
- frontend
networks:
frontend:
name: obo_frontend