Guest User

original docker script

a guest
Jun 5th, 2018
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. mysql:
  2. container_name: guac-mysql
  3. restart: always
  4. image: mysql:latest
  5. volumes:
  6. - ${USERDIR}/docker/guacamole_mysql:/tmp/scripts
  7. - ${USERDIR}/docker/guacamole_mysql/db:/var/lib/mysql
  8. environment:
  9. - TZ=${TZ}
  10. - PUID=${PUID}
  11. - PID=${PGID}
  12. - MYSQL_ROOT_PASSWORD=my-secret-pw
  13. networks:
  14. - default
  15.  
  16. guac-daemon:
  17. container_name: guacd
  18. restart: always
  19. image: guacamole/guacd
  20. networks:
  21. - default
  22.  
  23. guacamole:
  24. container_name: guacamole
  25. restart: always
  26. image: guacamole/guacamole
  27. environment:
  28. - TZ=${TZ}
  29. - PUID=${PUID}
  30. - PID=${PGID}
  31. - MYSQL_DATABASE='guacamole_db'
  32. - MYSQL_USER='guacamole_user'
  33. - MYSQL_PASSWORD='guacamole_user_password'
  34. - GUACD_PORT_4822_TCP_ADDR='guac-daemon'
  35. - GUACD_PORT_4822_TCP_PORT= 4822
  36. networks:
  37. - default
  38. depends_on:
  39. - mysql
  40. - guac-daemon
  41. ports:
  42. - "8082:8080"
Add Comment
Please, Sign In to add comment