Dockerfile for Paperwork with embedded MariaDB (MySQL) Database based on Zukhov's 2015 dockerfile.
Open Source note-taking & archiving alternative to Evernote, Microsoft OneNote & Google Keep
Not quite working yet.
The idea is to have all of the setup done inside the dockerfile and at first run. The container is set up with a local (i.e. external to the container) directory for config and database data. The user then logs on using a pre-generated account (paperwork / paperwork) and updates the installation from within. Security is achieved through the use of a semi-random database password generated at run-time.
Right now the issue is avoiding the paperwork setup wizard and I have a ticket in on this.
Pull the image
docker pull echo4golfzed/paperwork
Create your Paperwork config directory which will contain both the properties file and the database. (/var/paperwork)
Launch the container with the following:
docker run -d -v /your-config-location:/config -p 8888:80 echo4golfzed/paperwork
http://your-host-ip:8888 and login with user and password
Paperwork is an open source project and is copyright twostairs
This docker image is built upon the baseimage made by phusion.
The dockerfile is based on Zhukov's 2015 project.