1
0

docker-compose.yml 606 B

123456789101112131415161718192021222324252627282930313233343536
  1. version: '2'
  2. services:
  3. mysqldata:
  4. image: mysql:5.7
  5. command: /bin/true
  6. mysql:
  7. image: mysql:5.7
  8. restart: always
  9. env_file:
  10. - ../mysql.env
  11. volumes_from:
  12. - mysqldata
  13. web:
  14. image: huginn/huginn-single-process
  15. restart: always
  16. ports:
  17. - "3000:3000"
  18. env_file:
  19. - ../mysql.env
  20. - ../secrets.env
  21. depends_on:
  22. - mysql
  23. threaded:
  24. image: huginn/huginn-single-process
  25. command: /scripts/init bin/threaded.rb
  26. restart: always
  27. env_file:
  28. - ../mysql.env
  29. - ../secrets.env
  30. depends_on:
  31. - mysql
  32. - web