File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
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=1000
10
+ - PGID=1000
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=true # optional
17
+ - PASSWORD_ACCESS=true # optional
18
+ - USER_PASSWORD=datashuttle # optional
19
+ # - USER_PASSWORD_FILE=/path/to/file #optional
20
+ - USER_NAME=linuxserver.io # optional
21
+ volumes :
22
+ - /path/to/appdata/config:/config
23
+ ports :
24
+ - 2222:2222
25
+ restart : unless-stopped
You can’t perform that action at this time.
0 commit comments