Skip to content
Add information about new variable authored by Kirill's avatar Kirill
......@@ -23,6 +23,8 @@ Settings
If you not set **POLEMARCH_DB_HOST**, default database would be SQLite3, path to database file: `/db.sqlite3`. If you set **POLEMARCH_DB_HOST**, Polemarch would be use MYSQL with next variabls:
* **POLEMARCH_DB_TYPE** - name of database type. Support: `MYSQL`, `SQLite3` and `Postgres` database.
* **POLEMARCH_DB_NAME** - name of database.
* **POLEMARCH_DB_USER** - user connected to database.
......@@ -69,7 +71,7 @@ Examples
Run latest version of Polemarch in docker and connect to MySQL on server:
```
docker run --env POLEMARCH_DB_NAME=polemarch --env POLEMARCH_DB_USER=polemarch --env POLEMARCH_DB_PASSWORD=polemarch --env POLEMARCH_DB_PORT=3306 --env POLEMARCH_DB_HOST=polemarch_db vstconsulting/polemarch
docker run --env POLEMARCH_DB_TYPE=mysql --env POLEMARCH_DB_NAME=polemarch --env POLEMARCH_DB_USER=polemarch --env POLEMARCH_DB_PASSWORD=polemarch --env POLEMARCH_DB_PORT=3306 --env POLEMARCH_DB_HOST=polemarch_db vstconsulting/polemarch
```
Run Polemarch with Memcache and RabbitMQ and SQLite3. Polemarch log-level=INFO, secret-key=mysecretkey
```
......
......