Sqlite as storage backend (#1)

Some platforms has some problems with file locking, so I was forced to use an alternative. SQLite seems be the best option currently available


* Migrated to an sqlite database

* Removed unnecessary IOExceptions

* Removed an util class not needed anymore

* Updated README.md and docker-compose.yml to reflect new storage mechanism
This commit is contained in:
Przemek Dragańczuk
2020-03-24 09:07:25 +01:00
committed by GitHub
parent 25adf04903
commit 7f275bf6af
8 changed files with 137 additions and 148 deletions

View File

@@ -6,11 +6,11 @@ services:
context: .
container_name: url
environment:
- file.location=/urls.csv
- db.url=/urls.sqlite
- username=${URL_LOGIN}
- password=${URL_PASSWORD}
volumes:
- ./urls.csv:/urls.csv
- ./urls.sqlite:/urls.sqlite
networks:
- ${NETWORK}
labels: