Skip to content

MyDocs - django docker web application

License

Notifications You must be signed in to change notification settings

claudiocandio/mydocs_sqlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Python django docker GitHub license

MyDocs - django docker web application

MyDocs is a simple but functional web application useful to catalog documents, it is developed using the Django framework and Python. I'm using it to store all my personal data in a SQLite database (yes I know some do not recommend saving files to a database, but I have my reasons;-)
Any kind of file can be saved up to a size of 300MB configurable, documents, invoices, medical reports, pay slips, photos, software, anything.

A document saved to MyDocs may include files attachments, it can have one or more Owners, one or more Categories, a Date field and Notes. It is possible to configure multiple users with different databases assigned. MyDocs also works well with mobile phones.

MyDocs Install

$ wget https://github.com/claudiocandio/mydocs_sqlite/raw/main/docker-compose.yml
$ docker-compose up -d

Make Database persistent and add Settings file

$ docker cp mydocs:/mydocs_sqlite/db.sqlite3 .
$ docker cp mydocs:/mydocs_sqlite/mydocs/settings.py .

Edit docker-compose.yml and uncomment the volumes entries:
 volumes:
  - ./settings.py:/mydocs_sqlite/mydocs/settings.py
  - ./db.sqlite3:/mydocs_sqlite/db.sqlite3

Restart mydocs

$ docker-compose restart

Upgrade MyDocs

$ docker-compose down
$ docker-compose pull
$ docker-compose up -d

Access MyDocs
http://server-ip:8000
Login: admin
Password: admin

Access Django Admin
http://server-ip:8000/admin
Login: admin
Password: admin

Users with Django Superuser permission, like admin, can access the Django Admin site, add new users, manage databases from MyDocs Settings and assign users to databases.

Stop MyDocs

$ docker-compose stop

Some screnshoots

mydocs

mydocs

mydocs

mydocs

mydocs

mydocs

mydocs

mydocs

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND

Releases

No releases published

Packages

No packages published