mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-11-10 10:07:25 +01:00
Update README.md
This commit is contained in:
parent
ed8b0be013
commit
365a536aff
@ -61,9 +61,9 @@ If not using an existing database, the fixture data needs to be prepared before
|
|||||||
* `$ ./init.sh`
|
* `$ ./init.sh`
|
||||||
|
|
||||||
If an existing database is to be used, do the following:
|
If an existing database is to be used, do the following:
|
||||||
* Change variables under `MySQL` and/or `INFLUXDB` in `.env` to match the credentials of your database(s).
|
* It is recommended to use the included MySQL container.
|
||||||
* Uncomment the mapping of default volume paths in `docker-compose.yml` for `cc-db` and/or `cc-influxdb` under `volumes`.
|
* Uncomment the mapping of default volume paths in `docker-compose.yml` for `cc-db` and/or `cc-influxdb` under `volumes` to persist the data across container restarts.
|
||||||
* Comment or delete the line `- ${DATADIR}/sql:/docker-entrypoint-initdb.d` for `cc-db`.
|
* Comment or delete the line `- ${DATADIR}/sql:/docker-entrypoint-initdb.d` for `cc-db` to disable initialisation of the MySQL database. You may also place an own MysQL database dump in `./data/sql`.
|
||||||
|
|
||||||
In `.env`, change the following variables under `APP`
|
In `.env`, change the following variables under `APP`
|
||||||
* `APP_CLUSTERCOCKPIT_INIT` to `false`
|
* `APP_CLUSTERCOCKPIT_INIT` to `false`
|
||||||
|
Loading…
Reference in New Issue
Block a user