diff options
Diffstat (limited to '')
-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" |