Advertisement
FengShui

compose.yaml

Jul 19th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.83 KB | None | 0 0
  1. ---
  2. version: "2.1"
  3. services:
  4.   openssh-server:
  5.     image: lscr.io/linuxserver/openssh-server:latest
  6.     container_name: openssh-server
  7. #    hostname: openssh-server #optional
  8.     environment:
  9.      - PUID=1044
  10.       - PGID=65542
  11.       - TZ=Etc/UTC
  12. #      - PUBLIC_KEY=yourpublickey #optional
  13. #      - PUBLIC_KEY_FILE=/path/to/file #optional
  14. #      - PUBLIC_KEY_DIR=/path/to/directory/containing/_only_/pubkeys #optional
  15. #      - PUBLIC_KEY_URL=https://github.com/username.keys #optional
  16.       - SUDO_ACCESS=false #optional
  17.       - PASSWORD_ACCESS=true #optional
  18. #      - USER_PASSWORD=password #optional
  19.       - USER_PASSWORD_FILE=./cctv_password #optional
  20.       - USER_NAME=cctv #optional
  21.     volumes:
  22.      - ./config:/config
  23.       - /volume2/CCTV/Events:/cctv
  24.     ports:
  25.      - 2222:2222
  26.     restart: unless-stopped
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement