mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2026-02-05 07:40:55 +01:00
Updates to docker-compose.yml to fix persistency and security
This commit is contained in:
@@ -29,31 +29,27 @@ services:
|
|||||||
restart: "no"
|
restart: "no"
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:6379:6379
|
- 127.0.0.1:6379:6379
|
||||||
expose:
|
|
||||||
- "6379"
|
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
# volumes:
|
volumes:
|
||||||
# - ./redis/data/dump.rdb:/var/lib/redis/dump.rdb
|
- ./redis/data/:/data
|
||||||
# - ./redis/log/:/var/log/
|
|
||||||
|
|
||||||
scalelite:
|
scalelite:
|
||||||
entrypoint: [bin/start]
|
entrypoint: [bin/start]
|
||||||
# image: blindsidenetwks/scalelite:master
|
image: blindsidenetwks/scalelite:master
|
||||||
image: blindsidenetwks/scalelite:docker-pro
|
|
||||||
restart: "no"
|
restart: "no"
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:3000:3000
|
- 127.0.0.1:3000:3000
|
||||||
expose:
|
|
||||||
- "3000"
|
|
||||||
links:
|
links:
|
||||||
- redis
|
- redis
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
volumes:
|
volumes:
|
||||||
- ./scalelite/log:/usr/src/app/log
|
- ./scalelite/log:/usr/src/app/log
|
||||||
- ./scalelite/tmp/pids/:/usr/src/app/tmp/pids
|
|
||||||
- ./scalelite/bin/start:/usr/src/app/bin/start
|
- ./scalelite/bin/start:/usr/src/app/bin/start
|
||||||
|
- ./scalelite/tmp/pids/:/usr/src/app/tmp/pids
|
||||||
|
- ./scalelite/tmp/sockets/:/usr/src/app/tmp/sockets
|
||||||
|
- ./scalelite/tmp/cache/assets:/usr/src/app/tmp/cache/assets
|
||||||
# logging:
|
# logging:
|
||||||
# driver: syslog
|
# driver: syslog
|
||||||
# options:
|
# options:
|
||||||
@@ -61,6 +57,6 @@ services:
|
|||||||
# tag: sl.$DOMAINNAME
|
# tag: sl.$DOMAINNAME
|
||||||
env_file: ./scalelite/.env
|
env_file: ./scalelite/.env
|
||||||
environment:
|
environment:
|
||||||
- DOMAINNAME=${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|
- REDIS_URL=redis://redis:6379
|
||||||
- REDIS_URL=redis://redis.${DOMAIN_SUB:-xlab}.${DOMAIN_ROOT:-bigbluebutton.org}:6379
|
- REDIS_NAMESPACE=scalelite
|
||||||
- URL_HOST=sl.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|
- URL_HOST=sl.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
|
||||||
|
|||||||
Reference in New Issue
Block a user