|
@@ -20,11 +20,12 @@ services:
|
20
|
20
|
- "80:80"
|
21
|
21
|
- "443:443"
|
22
|
22
|
environment:
|
23
|
|
- - NGINX_HOSTNAME=${HOST_NAME:-sl}.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|
|
23
|
+ - NGINX_HOSTNAME=${HOST_NAME:-sl.xlab.blindside-dev.com}
|
24
|
24
|
depends_on:
|
25
|
25
|
- scalelite.api
|
26
|
26
|
command: /bin/bash -c "envsubst '$$NGINX_HOSTNAME' < /etc/nginx/sites-available/sites.template > /etc/nginx/sites-enabled/sites.conf && while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g 'daemon off;'"
|
27
|
27
|
|
|
28
|
+
|
28
|
29
|
certbot:
|
29
|
30
|
image: certbot/certbot
|
30
|
31
|
volumes:
|
|
@@ -32,6 +33,7 @@ services:
|
32
|
33
|
- ./data/certbot/www:/var/www/certbot
|
33
|
34
|
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
34
|
35
|
|
|
36
|
+
|
35
|
37
|
redis:
|
36
|
38
|
image: redis
|
37
|
39
|
restart: "no"
|
|
@@ -40,6 +42,7 @@ services:
|
40
|
42
|
volumes:
|
41
|
43
|
- ./data/redis/:/data
|
42
|
44
|
|
|
45
|
+
|
43
|
46
|
postgres:
|
44
|
47
|
image: postgres:9.5
|
45
|
48
|
restart: "no"
|
|
@@ -53,6 +56,7 @@ services:
|
53
|
56
|
- PGUSER=postgres
|
54
|
57
|
- PGPASSWORD=password
|
55
|
58
|
|
|
59
|
+
|
56
|
60
|
scalelite.api:
|
57
|
61
|
entrypoint: [bin/start]
|
58
|
62
|
image: blindsidenetwks/scalelite:master
|
|
@@ -76,7 +80,8 @@ services:
|
76
|
80
|
- DB_NAME=scalelite_production
|
77
|
81
|
- DB_USERNAME=postgres
|
78
|
82
|
- DB_PASSWORD=password
|
79
|
|
- - URL_HOST=${HOST_NAME:-sl}.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|
|
83
|
+ - URL_HOST=${HOST_NAME:-sl.xlab.blindside-dev.com}
|
|
84
|
+
|
80
|
85
|
|
81
|
86
|
scalelite.poller:
|
82
|
87
|
entrypoint: [bin/start-poller]
|
|
@@ -92,5 +97,5 @@ services:
|
92
|
97
|
env_file: ./scalelite/.env
|
93
|
98
|
environment:
|
94
|
99
|
- REDIS_URL=redis://redis:6379
|
95
|
|
- - URL_HOST=${HOST_NAME:-sl}.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|
|
100
|
+ - URL_HOST=${HOST_NAME:-sl.xlab.blindside-dev.com}
|
96
|
101
|
- INTERVAL=60
|