Moved on git

master
Meliurwen 4 years ago
commit 82a603d3aa
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 11
      .env.example
  2. 1
      .gitignore
  3. 17
      docker-compose.yml

@ -0,0 +1,11 @@
# Global Settings
LOCAL_STACK_DIR=/srv/docker/volumes/sftp
LOCAL_VOLUMES_DIR=/srv/docker/volumes
# sftp (optional)
SFTP_IMG=
SFTP_TAG=alpine
SFTP_CONTAINER_NAME=
SFTP_RESTART=
SFTP_IP=
SFTP_EXT_PORT=

1
.gitignore vendored

@ -0,0 +1 @@
.env

@ -0,0 +1,17 @@
version: "3"
services:
sftp:
image: ${SFTP_IMG:-atmoz/sftp}:${SFTP_TAG:-latest}
container_name: ${SFTP_CONTAINER_NAME:-sftp}
restart: ${SFTP_RESTART:-unless-stopped}
volumes:
- ${LOCAL_STACK_DIR}/sftp/home:/home
- ${LOCAL_STACK_DIR}/sftp/etc/sftp:/etc/sftp:ro
- ${LOCAL_STACK_DIR}/sftp/etc/ssh:/etc/ssh
- ${LOCAL_STACK_DIR}/sftp/etc/sftp.d:/etc/sftp.d:ro
- ${LOCAL_STACK_DIR}/sftp/mnt:/mnt:ro
ports:
- "${SFTP_IP:-0.0.0.0}:${SFTP_EXT_PORT:2222}:22"
cap_add:
- SYS_ADMIN
Loading…
Cancel
Save