Guest User

Untitled

a guest
Jun 30th, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 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.6'
  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. - 81:80
  23. environment:
  24. PMA_HOSTS: mariadb
  25. deploy:
  26. replicas: 1
  27. openemr:
  28. image: openemr/openemr:5.0.2
  29. volumes:
  30. - websitevolume:/var/www/localhost/htdocs/openemr
  31. environment:
  32. MYSQL_HOST: mysql
  33. MYSQL_ROOT_PASS: root
  34. MYSQL_USER: openemr
  35. MYSQL_PASS: openemr
  36. OE_USER: admin
  37. OE_PASS: pass
  38. depends_on:
  39. - mysql
  40. deploy:
  41. replicas: 1
  42. nginx:
  43. image: openemr/dev-nginx:swarm-example
  44. ports:
  45. - 80:80
  46. volumes:
  47. - websitevolume:/usr/share/nginx/html/openemr
  48. depends_on:
  49. - openemr
  50. - dev-php-fpm-7-2-redis
  51. deploy:
  52. replicas: 3
  53. dev-php-fpm-7-2-redis:
  54. image: openemr/dev-php-fpm:7.2-redis
  55. volumes:
  56. - websitevolume:/usr/share/nginx/html/openemr
  57. depends_on:
  58. - openemr
  59. deploy:
  60. replicas: 3
  61. volumes:
  62. websitevolume:
  63. driver: vieux/sshfs
  64. driver_opts:
  65. sshcmd: ip172-18-0-12-bcrcfgds2ti000ft4ldg@direct.labs.play-with-docker.com:/root/stuff
  66. allow_other: ""
Add Comment
Please, Sign In to add comment