This docker file depends on the FLAT base image.
- easy-deposit which provides a SWORD v2 API to receive bags, accessible via: http://IP/flat/easy-deposit
The following accounts are created:
- SWORD user with rights to deposit: flat:sword (CHANGE in production!)
docker build -t flat ./add-sword-to-flat
docker run -p 80:80 -v ~/my-resources:/lat -it flat
- Hardcoded logins and paths are found in /app/flat/deposit/sword/cfg/application.properties, /app/flat/deposit/sword/cfg/logback.xml and /app/flat/do-sword-upload.sh
- /app/flat/bin/flat-sword-upload.sh uses
curl -k
because the certificate is self-signed, this shoud not be needed in production!