forked from loowid/loowid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (63 loc) · 1.64 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
56
57
58
59
60
61
62
63
version: "2"
services:
nginx:
image: jwilder/nginx-proxy:alpine
ports:
- "80:80"
- "443:443"
volumes:
- /etc/nginx/vhost.d
- /usr/share/nginx/html
- /server/certs:/etc/nginx/certs
- /var/run/docker.sock:/tmp/docker.sock:ro
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes_from:
- nginx
loowid:
image: loowid/loowid
build:
context: .
dockerfile: Dockerfile
expose:
- "443"
environment:
- OPENSHIFT_MONGODB_DB_PASSWORD=password
- OPENSHIFT_MONGODB_DB_HOST=mongodb
- OPENSHIFT_MONGODB_DB_USERNAME=user
- OPENSHIFT_MONGODB_DB_PORT=27017
- OPENSHIFT_NODEJS_PORT=443
- OPENSHIFT_NODEJS_IP=0.0.0.0
- OPENSHIFT_APP_NAME=loowid
- ADMIN_PASSWORD=password
- ADMIN_USERNAME=user
- CEXTID=ocegbggnlgopmchofgnbjhgpljlchlpl
- LOOWID_YOUTUBE_CLIENTID=xxxxxx
- LTI_KEY=key
- LTI_OWNER_ROLES=rol1,rol2,rol3
- LTI_SECRET=secret
- WS_PORT=443
- COTURN_AUTH_SECRET=secret
- COTURN_AUTH_USERNAME=user
- COTURN_SERVER=yourdomain:8443
- COTURN_AUTH_HOURS=4
- COTURN_EXCLUSIVE=false
- VIRTUAL_HOST=yourdomain
- LETSENCRYPT_HOST=yourdomain
links:
- mongodb
mongodb:
image: mongo:2.6.11
volumes:
- /data/db:/data/db
expose:
- "27017"
command: ["mongod", "--noprealloc", "--smallfiles", "--auth"]
coturn:
image: spreed/turnserver
volumes:
- /data/db:/srv
network_mode: "host"