Update README.md

This commit is contained in:
Christoph Kluge 2021-06-10 12:08:22 +02:00
parent 7ff1cf266a
commit ca28866c52

View File

@ -34,7 +34,7 @@ Desired modes for the future are:
TODOS (There are probably a lot more!): TODOS (There are probably a lot more!):
* Some of the Volume directories need to be created first. * Some of the Volume directories need to be created first.
* ClusterCockpit is at the moment still using the influxDB V1 API, the InfluxDB container is already V2 * ClusterCockpit is at the moment still using the influxDB V1 API, the InfluxDB container is already V2
* For a running demo database fixtures for MySQL and InfluxDB are missing * For a complete demo database setup, InfluxDB data fixtures are missing (MySQL demo database is available)
## Using for DEMO purpose ## Using for DEMO purpose
@ -42,17 +42,21 @@ Before starting the containers the fixture data needs to be prepared:
* `$ cd data` * `$ cd data`
* `$ ./init.sh` * `$ ./init.sh`
You need to ensure that no other web server is running on port 80. Also existing VPN connections sometimes cause problems with docker. Known Issues:
* You need to ensure that no other web server is running on port 80 (e.g. Apache2). If port 80 is already in use, edit NGINX_PORT environment variable in `.env`.
* Existing VPN connections sometimes cause problems with docker. If `docker-compose` does not start up correctly, try disabling any active VPN connection. Refer to https://stackoverflow.com/questions/45692255/how-make-openvpn-work-with-docker for further information.
After that from the root of the repository you can start up the containers with: After that from the root of the repository you can start up the containers with:
* `docker-compose up` * `docker-compose up`
* Wait... and wait a little longer * Wait... and wait a little longer
You can access ClusterCockpit in your browser at http://localhost . By default, you can access ClusterCockpit in your browser at http://localhost . If NGINX_PORT environment variable was changed, use http://localhost:$PORT .
Credentials for admin user are: Credentials for admin user are:
* User: `admin` * User: `admin`
* Password: `AdminDev` * Password: `AdminDev`
You can shutdown the containers by pressing `CTR-C`. You can shutdown the containers by pressing `CTRL-C`.
Nothing is preserved! After shutting down the container everything is initialized from scratch. Nothing is preserved! After shutting down the container everything is initialized from scratch.
To reuse an existing Symfony tree at `./data/symfony` you may remove the environment variable `DOCKER_CLUSTERCOCKPIT_INIT` in `docker-composer.yml` file. To reuse an existing Symfony tree at `./data/symfony` you may remove the environment variable `DOCKER_CLUSTERCOCKPIT_INIT` in `docker-composer.yml` file.