12345678910111213141516171819202122232425262728293031323334353637 |
- version: '3.8'
- services:
- terminalserver:
- image: toastie89/terminalserver
- shm_size: '1G'
- build:
- context: ./build
- args:
- ADDITIONAL_PACKAGES: ${ADDITIONAL_PACKAGES}
- container_name: terminalserver
- hostname: terminalserver
- restart: on-failure:3
- ports:
- - ${PORTMAPPING}
- expose:
- - 3389
- volumes:
- - ./data/home/:/home/
- - ./data/etc/s6-overlay/s6-rc.d/init-custom-users:/etc/s6-overlay/s6-rc.d/init-custom-users
- # - ./data/ssh/:/etc/ssh/
- - ./data/opt/:/opt/
- - ./users.list:/etc/users.list
- environment:
- - PUID=1000
- - PGID=1000
- - TZ="Europe/Berlin"
- healthcheck:
- test: ["CMD", "/bin/nc", "-z", "localhost", "3389"]
- interval: 60s
- timeout: 10s
- retries: 3
- start_period: 2m
|