docker-compose.yml 820 B

12345678910111213141516171819202122232425262728293031323334353637
  1. version: '3.8'
  2. services:
  3. terminalserver:
  4. image: toastie89/terminalserver
  5. shm_size: '1G'
  6. build:
  7. context: ./build
  8. args:
  9. ADDITIONAL_PACKAGES: ${ADDITIONAL_PACKAGES}
  10. container_name: terminalserver
  11. hostname: terminalserver
  12. restart: on-failure:3
  13. ports:
  14. - ${PORTMAPPING}
  15. expose:
  16. - 3389
  17. volumes:
  18. - ./data/home/:/home/
  19. - ./data/etc/s6-overlay/s6-rc.d/init-custom-users:/etc/s6-overlay/s6-rc.d/init-custom-users
  20. # - ./data/ssh/:/etc/ssh/
  21. - ./data/opt/:/opt/
  22. - ./users.list:/etc/users.list
  23. environment:
  24. - PUID=1000
  25. - PGID=1000
  26. - TZ="Europe/Berlin"
  27. healthcheck:
  28. test: ["CMD", "/bin/nc", "-z", "localhost", "3389"]
  29. interval: 60s
  30. timeout: 10s
  31. retries: 3
  32. start_period: 2m