Init SFTP
This commit is contained in:
parent
54c090788f
commit
29c8368fdc
@ -1 +1 @@
|
|||||||
DOCKER_DATA=/home/joey/data/wireguard
|
DOCKER_DATA=/mnt/md0/sftp
|
||||||
|
@ -1,23 +1,12 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
sftp:
|
sftp:
|
||||||
image: linuxserver/wireguard
|
image: atmoz/sftp
|
||||||
container_name: sftp_sftp
|
container_name: sftp_sftp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 53820:51820/udp
|
- 20340:22
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
- SYS_MODULE
|
|
||||||
environment:
|
|
||||||
- PUID=1000
|
|
||||||
- PGID=1000
|
|
||||||
- TZ=America/Los_Angeles
|
|
||||||
- PEERS=joey-phone,joey-xps13,maddie-phone,acearcher,nas,jafner-chat,jafner-tools
|
|
||||||
- SERVERURL=www.jafner.net
|
|
||||||
- SERVERPORT=53820
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA}/config:/config
|
- ${DOCKER_DATA}/data:/home/sftp/upload
|
||||||
|
- ./users.conf:/etc/sftp/users.conf:ro
|
||||||
- /lib/modules:/lib/modules
|
- /lib/modules:/lib/modules
|
||||||
sysctls:
|
|
||||||
- net.ipv4.conf.all.src_valid_mark=1
|
|
||||||
|
1
homelab/server/config/sftp/users.conf
Normal file
1
homelab/server/config/sftp/users.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
sftp:$1$v17Kq7uN$Mthk2QXaPH24SXCFtQa6P.:e:1001
|
Loading…
Reference in New Issue
Block a user