Guest User

Untitled

a guest
Jul 6th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. # Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
  2. # MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
  3. # FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
  4. # MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
  5. # if not provided, then default to openemr, openemr, admin, and pass respectively.
  6. version: '3.1'
  7. services:
  8. redis:
  9. image: redis
  10. deploy:
  11. replicas: 1
  12. mysql:
  13. image: mariadb:10.2
  14. command: ['mysqld','--character-set-server=utf8']
  15. environment:
  16. MYSQL_ROOT_PASSWORD: root
  17. deploy:
  18. replicas: 1
  19. phpmyadmin:
  20. image: phpmyadmin/phpmyadmin
  21. ports:
  22. - 8081:80
  23. environment:
  24. PMA_HOSTS: mariadb
  25. deploy:
  26. replicas: 1
  27. openemr:
  28. image: openemr/openemr:5.0.2
  29. ports:
  30. - 8080:80
  31. - 8090:443
  32. volumes:
  33. - websitevolume:/var/www/localhost/htdocs/openemr/sites
  34. - sslvolume:/etc/ssl
  35. - letsencryptvolume:/etc/letsencrypt
  36. environment:
  37. SWARM_MODE: "yes"
  38. REDIS_SERVER: redis
  39. MYSQL_HOST: mysql
  40. MYSQL_ROOT_PASS: root
  41. MYSQL_USER: openemr
  42. MYSQL_PASS: openemr
  43. OE_USER: admin
  44. OE_PASS: pass
  45. depends_on:
  46. - mysql
  47. deploy:
  48. replicas: 5
  49. volumes:
  50. websitevolume: {}
  51. sslvolume: {}
  52. letsencryptvolume: {}
Add Comment
Please, Sign In to add comment