You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. version: '3'
  2. volumes:
  3. database_data:
  4. driver: local
  5. services:
  6. nginx:
  7. image: nginx:latest
  8. restart: "no"
  9. volumes:
  10. - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  11. - ./nginx/sites-enabled:/etc/nginx/sites-enabled
  12. - ./nginx/sites.template:/etc/nginx/sites-available/sites.template
  13. - ./nginx/default/html:/var/www/html
  14. - ./nginx/log/nginx:/var/log/nginx
  15. - ./nginx/letsencrypt/:/etc/letsencrypt
  16. ports:
  17. - "80:80"
  18. - "443:443"
  19. environment:
  20. - NGINX_DOMAIN=${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
  21. depends_on:
  22. - scalelite
  23. command: /bin/bash -c "envsubst '$$NGINX_DOMAIN' < /etc/nginx/sites-available/sites.template > /etc/nginx/sites-enabled/sites.conf && exec nginx -g 'daemon off;'"
  24. redis:
  25. image: redis
  26. restart: "no"
  27. ports:
  28. - 127.0.0.1:6379:6379
  29. expose:
  30. - "6379"
  31. networks:
  32. - default
  33. # volumes:
  34. # - ./redis/data/dump.rdb:/var/lib/redis/dump.rdb
  35. # - ./redis/log/:/var/log/
  36. scalelite:
  37. entrypoint: [bin/start]
  38. # image: blindsidenetwks/scalelite:master
  39. image: blindsidenetwks/scalelite:docker-pro
  40. restart: "no"
  41. ports:
  42. - 127.0.0.1:3000:3000
  43. expose:
  44. - "3000"
  45. links:
  46. - redis
  47. networks:
  48. - default
  49. volumes:
  50. - ./scalelite/log:/usr/src/app/log
  51. - ./scalelite/tmp/pids/:/usr/src/app/tmp/pids
  52. - ./scalelite/bin/start:/usr/src/app/bin/start
  53. # logging:
  54. # driver: syslog
  55. # options:
  56. # syslog-address: udp://logs.$DOMAINNAME:1514
  57. # tag: sl.$DOMAINNAME
  58. env_file: ./scalelite/.env
  59. environment:
  60. - DOMAINNAME=${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
  61. - REDIS_URL=redis://redis.${DOMAIN_SUB:-xlab}.${DOMAIN_ROOT:-bigbluebutton.org}:6379
  62. - URL_HOST=sl.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}