Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 KB | None | 0 0
  1. GNU nano 2.7.4 File: docker-compose.yml
  2.  
  3. ####################################################################################
  4. # docker-compose file for Apache Guacamole
  5. # created by PCFreak 2017-06-28
  6. #
  7. # Apache Guacamole is a clientless remote desktop gateway. It supports standard
  8. # protocols like VNC, RDP, and SSH. We call it clientless because no plugins or
  9. # client software are required. Thanks to HTML5, once Guacamole is installed on
  10. # a server, all you need to access your desktops is a web browser.
  11. ####################################################################################
  12. #
  13. # What does this file do?
  14. #
  15. # Using docker-compose it will:
  16. #
  17. # - create a network 'guacnetwork_compose' with the 'bridge' driver.
  18. # - create a service 'guacd_compose' from 'guacamole/guacd' connected to 'guacnetwork'
  19. # - create a service 'postgres_guacamole_compose' (1) from 'postgres' connected to 'guacnetwork'
  20. # - create a service 'guacamole_compose' (2) from 'guacamole/guacamole/' conn. to 'guacnetwork'
  21. # - create a service 'nginx_guacamole_compose' (3) from 'nginx' connected to 'guacnetwork'
  22. #
  23. # (1)
  24. # DB-Init script is in './init/initdb.sql' it has been created executing
  25. # 'docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgres > ./init/initdb.sql'
  26. # once.
  27. # DATA-DIR is in './data'
  28. # If you want to change the DB password change all lines with 'POSTGRES_PASSWORD:' and
  29. # change it to your needs before first start.
  30. # To start from scratch delete './data' dir completely
  31. # './data' will hold all data after first start!
  32. # The initdb.d scripts are only executed the first time the container is started
  33. # (and the database files are empty). If the database files already exist then the initdb.d
  34. # scripts are ignored (e.g. when you mount a local directory or when docker-compose saves
  35. # the volume and reuses it for the new container).
  36. #
  37. # !!!!! MAKE SURE your folder './init' is executable (chmod +x ./init)
  38. # !!!!! or 'initdb.sql' will be ignored!
  39. #
  40. # './data' will hold all data after first start!
  41. # (2)
  42. # Make sure you use the same value for 'POSTGRES_USER' and 'POSTGRES_PASSWORD'
  43. # as configured under (1)
  44. #
  45. # (3)
  46. # ./nginx/nginx.conf will be mapped read-only into the container at /etc/nginx/nginx.conf
  47. # ./nginx/mysite.template will be mapped into the container at /etc/nginx/conf.d/mysite.template
  48. # ./nginx/ssl will be mapped into the container at /etc/nginx/ssl
  49. # At startup a self-signed certificate will be created. If you want to use your own certs
  50. # just remove the part that generates the certs from the 'command' section and replace
  51. # 'self-ssl.key' and 'self.cert' with your certificate.
  52. # To debug nginx replace '&& nginx -g 'daemon off' with '&& nginx-debug -g 'daemon off'
  53. # nginx will export port 8443 to the outside world, make sure that this port is reachable
  54. # on your system from the "outside world". All other traffice is only internal.
  55. #
  56. # You could remove the entire 'nginx' service from this file if you want to use your own
  57. # reverse proxy in front of guacamole. If doing so, make sure you change the line
  58. # - 8080/tcp
  59. # to - 8080:8080/tcp
  60. # within the 'guacamole' service. This will expose the guacamole webinterface directly
  61. # on port 8080 and you can use it for your own purposes.
  62. #
  63. # !!!!! FOR INITAL SETUP (after git clone) run ./prepare.sh once
  64. #
  65. # !!!!! FOR A FULL RESET (WILL ERASE YOUR DATABASE, YOUR FILES, YOUR RECORDS AND CERTS) DO A
  66. # !!!!! ./reset.sh
  67. #
  68. #
  69. # The initial login to the guacamole webinterface is:
  70. #
  71. # Username: guacadmin
  72. # Password: guacadmin
  73. #
  74. # Make sure you change it immediately!
  75. #
  76. # version date comment
  77. # 0.1 2017-06-28 initial release
  78. # 0.2 2017-10-09 minor fixes + internal GIT push
  79. # 0.3 2017-10-09 minor fixes + public GIT push
  80. # 0.4 2019-08-14 creating of ssl certs now in prepare.sh
  81. # simplified nginx startup commands
  82. ####################################################################################
  83.  
  84. version: '2.0'
  85.  
  86. # networks
  87. # create a network 'guacnetwork_compose' in mode 'bridged'
  88. networks:
  89. guacnetwork_compose:
  90. driver: bridge
  91.  
  92. # services
  93. services:
  94. # guacd
  95. guacd:
  96. container_name: guacd_compose
  97. image: guacamole/guacd
  98. networks:
  99. guacnetwork_compose:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement