diff options
author | neodarz <neodarz@neodarz.net> | 2019-01-13 15:39:56 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-01-13 15:39:56 +0100 |
commit | 6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b (patch) | |
tree | 5f8a24fe07a388a13d37d2f2f904504ec5a9080a | |
parent | 345c4b6831587148e2d615ecf0affd44ff6abb39 (diff) | |
download | khanindexer-6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b.tar.xz khanindexer-6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b.zip |
Add some (docker) shit
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | docker-compose.yml | 9 |
2 files changed, 16 insertions, 0 deletions
@@ -18,3 +18,10 @@ python app.py ``` The database is in the sqlite file `khanindexer.db` at the root of the project. + +# Testing + +If you just want to test and don't want to install a MySQL (or MariaDB) +database but have Docker installed, juste use the `docker-compose.yml`. +This is only for test, don't use this shit on production (the docker-compose +file)! diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b2aca59 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: "3" + +services: + mysql: + image: mariadb + environment: + MYSQL_ROOT_PASSWORD: root + ports: + - "3306:3306" |