mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-11-10 08:27:24 +01:00
Merge branch 'main' of github.com:ClusterCockpit/cc-docker
This commit is contained in:
commit
6a79eb4642
16
README.md
16
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user