Update README.md

This commit is contained in:
Jan Eitzinger 2021-06-23 14:33:25 +02:00 committed by GitHub
parent fd233bd6a7
commit 52a61a240e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,6 @@ It creates containers for:
Ports and Passwords are configured in `.env`. Ports and Passwords are configured in `.env`.
TODOS (There are probably a lot more!):
* 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
* For a complete demo database setup, InfluxDB data fixtures are missing (MySQL demo database is available)
## Known Issues ## Known Issues
* `docker-compose` installed on Ubuntu (18.04, 20.04) via `apt-get` can not correctly parse `docker-compose.yml` due to version differences. Install latest version of `docker-compose` from https://docs.docker.com/compose/install/ instead. * `docker-compose` installed on Ubuntu (18.04, 20.04) via `apt-get` can not correctly parse `docker-compose.yml` due to version differences. Install latest version of `docker-compose` from https://docs.docker.com/compose/install/ instead.
@ -63,6 +58,17 @@ If not using an existing database, the fixture data needs to be prepared before
In `.env`, change the following variables under `APP` In `.env`, change the following variables under `APP`
* `APP_ENVIRONMENT` to `dev` * `APP_ENVIRONMENT` to `dev`
In case you want to switch from Demo to Develop you have to purge previous images. This command will purge **ALL** your docker images:
```
$ docker images -a -q | xargs docker rmi -f
```
Check with:
```
$ docker images
```
that all images are gone.
After that from the root of the repository you can start up the containers with (use -d switch to startup in detached mode): After that from the root of the repository you can start up the containers with (use -d switch to startup in detached mode):
* `docker-compose -f docker-compose.yml -f docker-compose-dev.yml up` * `docker-compose -f docker-compose.yml -f docker-compose-dev.yml up`
* Wait... and wait a little longer * Wait... and wait a little longer