|
@@ -29,31 +29,27 @@ services:
|
29
|
29
|
restart: "no"
|
30
|
30
|
ports:
|
31
|
31
|
- 127.0.0.1:6379:6379
|
32
|
|
- expose:
|
33
|
|
- - "6379"
|
34
|
32
|
networks:
|
35
|
33
|
- default
|
36
|
|
-# volumes:
|
37
|
|
-# - ./redis/data/dump.rdb:/var/lib/redis/dump.rdb
|
38
|
|
-# - ./redis/log/:/var/log/
|
|
34
|
+ volumes:
|
|
35
|
+ - ./redis/data/:/data
|
39
|
36
|
|
40
|
37
|
scalelite:
|
41
|
38
|
entrypoint: [bin/start]
|
42
|
|
-# image: blindsidenetwks/scalelite:master
|
43
|
|
- image: blindsidenetwks/scalelite:docker-pro
|
|
39
|
+ image: blindsidenetwks/scalelite:master
|
44
|
40
|
restart: "no"
|
45
|
41
|
ports:
|
46
|
42
|
- 127.0.0.1:3000:3000
|
47
|
|
- expose:
|
48
|
|
- - "3000"
|
49
|
43
|
links:
|
50
|
44
|
- redis
|
51
|
45
|
networks:
|
52
|
46
|
- default
|
53
|
47
|
volumes:
|
54
|
48
|
- ./scalelite/log:/usr/src/app/log
|
55
|
|
- - ./scalelite/tmp/pids/:/usr/src/app/tmp/pids
|
56
|
49
|
- ./scalelite/bin/start:/usr/src/app/bin/start
|
|
50
|
+ - ./scalelite/tmp/pids/:/usr/src/app/tmp/pids
|
|
51
|
+ - ./scalelite/tmp/sockets/:/usr/src/app/tmp/sockets
|
|
52
|
+ - ./scalelite/tmp/cache/assets:/usr/src/app/tmp/cache/assets
|
57
|
53
|
# logging:
|
58
|
54
|
# driver: syslog
|
59
|
55
|
# options:
|
|
@@ -61,6 +57,6 @@ services:
|
61
|
57
|
# tag: sl.$DOMAINNAME
|
62
|
58
|
env_file: ./scalelite/.env
|
63
|
59
|
environment:
|
64
|
|
- - DOMAINNAME=${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|
65
|
|
- - REDIS_URL=redis://redis.${DOMAIN_SUB:-xlab}.${DOMAIN_ROOT:-bigbluebutton.org}:6379
|
|
60
|
+ - REDIS_URL=redis://redis:6379
|
|
61
|
+ - REDIS_NAMESPACE=scalelite
|
66
|
62
|
- URL_HOST=sl.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|