docker-compose.yml 818 B

123456789101112131415161718192021222324252627282930313233343536
  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. # - "3389:3389"
  15. # - "2222:22"
  16. volumes:
  17. - ./data/home/:/home/
  18. - ./data/etc/s6-overlay/s6-rc.d/init-custom-users:/etc/s6-overlay/s6-rc.d/init-custom-users
  19. # - ./data/ssh/:/etc/ssh/
  20. # - ./data/opt/:/opt/
  21. - ./data/users.list:/etc/users.list
  22. environment:
  23. - PUID=1000
  24. - PGID=1000
  25. - TZ="Europe/Berlin"
  26. healthcheck:
  27. test: ["CMD", "/bin/nc", "-z", "localhost", "3389"]
  28. interval: 60s
  29. timeout: 10s
  30. retries: 3
  31. start_period: 2m