We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4867ea commit ede0ff9Copy full SHA for ede0ff9
docker-compose.yml
@@ -0,0 +1,25 @@
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
0 commit comments