Inital Adding of Compose Files
This commit is contained in:
17
compose_files/sftp.yml
Normal file
17
compose_files/sftp.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
sftp:
|
||||
image: corilus/sftp:latest
|
||||
container_name: sftp
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "2222:22" # Map port 2222 on the host to port 22 in the container
|
||||
environment:
|
||||
- SFTP_USER=hans
|
||||
- SFTP_PASS=wurst
|
||||
- SFTP_UID=1001
|
||||
- SFTP_GID=1001
|
||||
volumes:
|
||||
- /home/hans:/home/hans # Mount the host directory for the SFTP user
|
||||
|
||||
Reference in New Issue
Block a user