docker-compose.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. version: '3.8'
  2. services:
  3. terminalserver:
  4. image: danielguerra/ubuntu-xrdp
  5. shm_size: '1G'
  6. build:
  7. context: ./build
  8. args:
  9. ADDITIONAL_PACKAGES: less libreoffice inkscape ttf-bitstream-vera geany geany-plugin-treebrowser geany-plugin-spellcheck geany-plugin-shiftcolumn geany-plugin-vc geany-plugin-git-changebar iputils-ping virt-manager ssh-askpass okular gimp gvfs-backends dnsutils git digikam pdfshuffler xfce4-whiskermenu-plugin galculator gigolo thunar-archive-plugin software-properties-common gajim gajim-httpupload gajim-urlimagepreview gajim-omemo python3-pip pinta curl openjdk-18-jdk
  10. container_name: terminalserver
  11. hostname: terminalserver
  12. restart: on-failure:3
  13. ports:
  14. - "3389:3389"
  15. - "2222:22"
  16. volumes:
  17. - ./data/home/:/home/
  18. - ./data/ssh/:/etc/ssh/
  19. - ./data/opt/:/opt/
  20. - /opt/docker/terminalserver/data/users.list:/etc/users.list
  21. environment:
  22. TZ: "Europe/Berlin"
  23. healthcheck:
  24. test: ["CMD", "/bin/nc", "-z", "localhost", "3389"]
  25. interval: 60s
  26. timeout: 10s
  27. retries: 3
  28. start_period: 2m