From 6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 13 Jan 2019 15:39:56 +0100 Subject: Add some (docker) shit --- README.md | 7 +++++++ docker-compose.yml | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 docker-compose.yml diff --git a/README.md b/README.md index e51b969..6f03880 100644 --- a/README.md +++ b/README.md @@ -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" -- cgit v1.2.1