1
0

postgresql.yml 636 B

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