Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- version: "2.1"
- services:
- openssh-server:
- image: lscr.io/linuxserver/openssh-server:latest
- container_name: openssh-server
- # hostname: openssh-server #optional
- environment:
- - PUID=1044
- - PGID=65542
- - TZ=Etc/UTC
- # - PUBLIC_KEY=yourpublickey #optional
- # - PUBLIC_KEY_FILE=/path/to/file #optional
- # - PUBLIC_KEY_DIR=/path/to/directory/containing/_only_/pubkeys #optional
- # - PUBLIC_KEY_URL=https://github.com/username.keys #optional
- - SUDO_ACCESS=false #optional
- - PASSWORD_ACCESS=true #optional
- # - USER_PASSWORD=password #optional
- - USER_PASSWORD_FILE=./cctv_password #optional
- - USER_NAME=cctv #optional
- volumes:
- - ./config:/config
- - /volume2/CCTV/Events:/cctv
- ports:
- - 2222:2222
- restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement