Guest User

Untitled

a guest
Nov 24th, 2018
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. # The initial login to the guacamole webinterface is:
  2. #
  3. # Username: guacadmin
  4. # Password: guacadmin
  5. #
  6. # Make sure you change it immediately!
  7. #
  8. #
  9. version: '2.0'
  10.  
  11. services:
  12. guacd:
  13. container_name: guacd_compose
  14. image: guacamole/guacd
  15. restart: always
  16. volumes:
  17. - ./drive:/drive:rw
  18. - ./record:/record:rw
  19. postgres:
  20. container_name: postgres_guacamole_compose
  21. environment:
  22. PGDATA: /var/lib/postgresql/data/guacamole
  23. POSTGRES_DB: guacamole_db
  24. POSTGRES_PASSWORD: postgres_guacamole_compose_password_1234!
  25. POSTGRES_USER: guacamole_user
  26. image: postgres
  27. restart: always
  28. volumes:
  29. - ./init:/docker-entrypoint-initdb.d:ro
  30. - ./data:/var/lib/postgresql/data:rw
  31. guacamole:
  32. container_name: guacamole_compose
  33. depends_on:
  34. - guacd
  35. - postgres
  36. environment:
  37. GUACD_HOSTNAME: guacd
  38. POSTGRES_DATABASE: guacamole_db
  39. POSTGRES_HOSTNAME: postgres
  40. POSTGRES_PASSWORD: postgres_guacamole_compose_password_1234!
  41. POSTGRES_USER: guacamole_user
  42. image: guacamole/guacamole
  43. links:
  44. - guacd
  45. ports:
  46. - 8080/tcp
  47. restart: always
  48. nginx:
  49. container_name: nginx_guacamole_compose
  50. restart: always
  51. image: nginx
  52. volumes:
  53. - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
  54. - ./nginx/mysite.template:/etc/nginx/conf.d/mysite.template
  55. - ./nginx/ssl:/etc/nginx/ssl
  56. ports:
  57. - 8443:443
  58. links:
  59. - guacamole
  60. command: /bin/bash -c "apt-get -y update && apt-get -y install openssl && openssl req -nodes -newkey rsa:2048 -new -x509 -keyout /etc/nginx/ssl/self-ssl.key -out /etc/nginx/ssl/self.cert -subj '/C=DE/ST=BY/L=Hintertupfing/O=Dorfwirt/OU=Theke/CN=www.createyourown.domain/emailAddress=docker@createyourown.domain' && cp -f -s /etc/nginx/conf.d/mysite.template /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
Add Comment
Please, Sign In to add comment