aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-01-13 15:39:56 +0100
committerneodarz <neodarz@neodarz.net>2019-01-13 15:39:56 +0100
commit6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b (patch)
tree5f8a24fe07a388a13d37d2f2f904504ec5a9080a
parent345c4b6831587148e2d615ecf0affd44ff6abb39 (diff)
downloadkhanindexer-6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b.tar.xz
khanindexer-6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b.zip
Add some (docker) shit
Diffstat (limited to '')
-rw-r--r--README.md7
-rw-r--r--docker-compose.yml9
2 files changed, 16 insertions, 0 deletions
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"