The badge displayed on my repository indicates the status of the deployment verification workflow as executed on the latest commit to the main branch.
Passing: This means the most recent commit has successfully passed all deployment checks, confirming that the Docker Compose setup functions correctly as designed.
📙 The complete installation guide is available on my website.
❗ Change variables in the .env
to meet your requirements.
💡 Note that the .env
file should be in the same directory as sftp-traefik-letsencrypt-docker-compose.yml
.
Create networks for your services before deploying the configuration using the commands:
docker network create traefik-network
docker network create sftp-network
Deploy SFTP using Docker Compose:
docker compose -f sftp-traefik-letsencrypt-docker-compose.yml -p sftp up -d
Change the ownership of the user1
directory.
Replace 1001
with the UID for user1
as specified in your .env
file.
In this setup, we are using UID 1001
for user1
.
sudo chown -R 1001:1001 /srv/sftpusers/user1
Change the ownership of the user2
directory.
Replace 1002
with the UID for user2
as specified in your .env
file.
In this setup, we are using UID 1002
for user2
.
sudo chown -R 1002:1002 /srv/sftpusers/user2
You can connect to your SFTP server using hostname, port, username and password previously set in the .env
.
I’m Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.
🌐 My website with detailed IT guides
🎬 Follow me on YouTube
🐦 Follow me on Twitter
🎨 Follow me on Instagram
🧵 Follow me on Threads
🐘 Follow me on Mastodon
🧊 Follow me on Bluesky
🎸 Follow me on Facebook
🎥 Follow me on TikTok
💻 Follow me on LinkedIn
🐈 Follow me on GitHub
👾 Chat with IT pros on Discord
📧 Reach me at ask@sre.gg
💎 Support on GitHub
🏆 Support on Patreon
🥤 Support on BuyMeaCoffee
🍪 Support on Ko-fi
💖 Support on PayPal