Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

docker-compose.yml 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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_HOSTNAME=${HOST_NAME:-sl}.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
  21. depends_on:
  22. - scalelite.api
  23. command: /bin/bash -c "envsubst '$$NGINX_HOSTNAME' < /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. volumes:
  30. - ./data/redis/:/data
  31. scalelite.api:
  32. entrypoint: [bin/start]
  33. image: blindsidenetwks/scalelite:master
  34. restart: "no"
  35. ports:
  36. - 127.0.0.1:3000:3000
  37. links:
  38. - redis
  39. volumes:
  40. # - ./scalelite/log/api:/srv/scalelite/log
  41. - ./scalelite/bin/start:/srv/scalelite/bin/start
  42. - ./scalelite/tmp/pids/:/usr/src/app/tmp/pids
  43. - ./scalelite/tmp/sockets/:/usr/src/app/tmp/sockets
  44. - ./scalelite/tmp/cache/assets:/usr/src/app/tmp/cache/assets
  45. env_file: ./scalelite/.env
  46. environment:
  47. - REDIS_URL=redis://redis:6379
  48. - URL_HOST=${HOST_NAME:-sl}.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
  49. scalelite.poller:
  50. entrypoint: [bin/start-poller]
  51. image: blindsidenetwks/scalelite:master
  52. restart: "no"
  53. ports:
  54. - 127.0.0.1:3001:3000
  55. links:
  56. - redis
  57. volumes:
  58. # - ./scalelite/log/poller:/srv/scalelite/log
  59. - ./scalelite/bin/start-poller:/srv/scalelite/bin/start-poller
  60. env_file: ./scalelite/.env
  61. environment:
  62. - REDIS_URL=redis://redis:6379
  63. - URL_HOST=${HOST_NAME:-sl}.${DOMAIN_SUB:-lab}.${DOMAIN_ROOT:-bigbluebutton.org}
  64. - INTERVAL=60