This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
forked from marksteele/s3-sftp-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Statflo/multipart-upload
Multipart upload
- Loading branch information
Showing
9 changed files
with
136 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,5 @@ nbdist/ | |
.nb-gradle/ | ||
|
||
.env* | ||
.vscode | ||
.vscode | ||
.volumes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
version: '2.1' | ||
|
||
services: | ||
mysql: | ||
image: mysql:5.7 | ||
restart: always | ||
environment: | ||
MYSQL_DATABASE: sftpd | ||
MYSQL_ROOT_PASSWORD: root | ||
healthcheck: | ||
test: mysql -uroot -proot -e 'SHOW TABLES' sftpd | ||
|
||
sftpd: | ||
image: maven:3-jdk-8-alpine | ||
working_dir: /usr/share/statflo | ||
command: mvn clean spring-boot:run | ||
ports: | ||
- "2222:2222" | ||
environment: | ||
- AWS_REGION=ca-central-1 | ||
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID- } | ||
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY- } | ||
|
||
- SPRING_PROFILES_ACTIVE=default,local | ||
volumes: | ||
- "./:/usr/share/statflo" | ||
- "./.volumes/m2:/root/.m2" | ||
depends_on: | ||
mysql: | ||
condition: service_healthy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
app: | ||
sftp: | ||
users: | ||
- | ||
username: test | ||
password: test | ||
aws: | ||
bucket-name: "test-sftp-uploader" | ||
hostkey-algorithm: "RSA" | ||
hostkey-private: | | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEowIBAAKCAQEArXpNaJAOXsgNe8OIFzWrKMC0D5yE3GV8TPjdAWy8n7MjOole | ||
DbEH5DzO1fKlLMCQGITjZuouSY3yE8zMC9xs4hE5e+KTSStreK1E9X3csSszuOLr | ||
+olj/C3ZcMKNq2s0TPBu691cRnTwVaL1V75V32rfCHz8NShCxyYXNiahycrOL2Bm | ||
9Cu8AMZcm1e9POgqABZbP2cP5MDy+Vw4RMw8XI8G6ClCQBlJayNAhqMDDw+80A/Z | ||
MBt3OyDOJ7o2xq/sJAIhppck+Fw43W04BIQwIrmEucBs1c6Np/+ePvk5jKhII5iE | ||
2+7nQizwwUJQmzdmTcciLJ8CMhZ7FDUobXFHwQIDAQABAoIBAQCtLbq495Zg6DUN | ||
qFTjVqBXPoiCTS4VFvrPnGCEW5ixlJNGjHtoD6Jh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qyxXyvxu7x2Utedxt7hI6ia3eSvfXowgcOXMT | ||
mfixttpPUobQhk43y5/h3N7gFGKxZQV6/ZFeBG7Dvck2NWgutNwqvbhFtfhVf37E | ||
PP+E8udcWsXfU2ZjPAIrApFNIwIYtEOsisy2QTZkN8BaTKcHq6+S | ||
-----END RSA PRIVATE KEY----- | ||
spring: | ||
datasource: | ||
url: "jdbc:mysql://mysql/sftpd?useSSL=false&serverTimezone=UTC" | ||
username: "root" | ||
password: "root" |