Primary Docker is a successor to Primary Vagrant and a fork of the Ouroboros project by UF Health.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

60 lines
1.5 KiB

  1. version: '3'
  2. networks:
  3. default:
  4. driver: bridge
  5. services:
  6. srdb:
  7. image: foxylion/search-replace-db
  8. restart: always
  9. depends_on:
  10. - proxy
  11. labels:
  12. - 'traefik.frontend.rule=Host:srdb.test'
  13. - 'traefik.domain=srdb.test'
  14. - 'traefik.enable=true'
  15. - 'traefik.docker.network=primarydocker_default'
  16. - 'traefik.port=80'
  17. - "traefik.frontend.redirect.entryPoint=http"
  18. mailcatcher:
  19. image: schickling/mailcatcher
  20. restart: always
  21. depends_on:
  22. - proxy
  23. environment:
  24. MAILCATCHER_PORT: 1025
  25. networks:
  26. - default
  27. labels:
  28. - 'traefik.frontend.rule=Host:mailcatcher.test'
  29. - 'traefik.domain=mailcatcher.test'
  30. - 'traefik.enable=true'
  31. - 'traefik.docker.network=primarydocker_default'
  32. - 'traefik.port=1080'
  33. - "traefik.frontend.redirect.entryPoint=http"
  34. webgrind:
  35. image: devgeniem/webgrind
  36. ports:
  37. - 80
  38. labels:
  39. - 'traefik.frontend.rule=Host:webgrind.test'
  40. - 'traefik.domain=webgrind.test'
  41. - 'traefik.enable=true'
  42. - 'traefik.docker.network=primarydocker_default'
  43. - 'traefik.port=80'
  44. - "traefik.frontend.redirect.entryPoint=http"
  45. proxy:
  46. image: traefik
  47. command: --api --docker
  48. ports:
  49. - '80:80'
  50. - '443:443'
  51. - '8080:8080'
  52. networks:
  53. - default
  54. volumes:
  55. - /var/run/docker.sock:/var/run/docker.sock
  56. - ./conf/traefik.toml:/etc/traefik/traefik.toml:ro
  57. - ./conf:/etc/traefik/conf