Sign inSign up

cdsplatform/c3cloud

By cdsplatform

Updated over 7 years ago

This service is part of http://c3-cloud.eu/c3/project-summary

Image
1

536

cdsplatform/c3cloud repository overview

Installing & running locally with docker
Windows System Requirements
  • Windows 10 64bit: Pro, Enterprise or Education (1607 Anniversary Update, Build 14393 or later).

  • Virtualization is enabled in BIOS. Typically, virtualization is enabled by default. This is different from having Hyper-V enabled.

  • CPU SLAT-capable feature.

  • At least 4GB of RAM.

Note: If your system does not meet the requirements to run Docker for Windows, you can install Docker Toolbox, which uses Oracle Virtual Box instead of Hyper-V.

Installation documentation https://docs.docker.com/docker-for-windows/install

Running the container

docker run -p 80:8080 -e JAVA_OPTS=-Dkeycloak.enabled=false cdsplatform/c3cloud:0.3.9

Choosing the port

To use another port use the parameter -p 80:8080 where the first element before : is the desired port that will be published by the docker container.

In this example, the service will then be accessible at http://localhost (port 80).

Running in the background

To run the service in the background use docker run -e JAVA_OPTS=-Dkeycloak.enabled=false -p 80:8080 -d --restart always cdsplatform/c3cloud:0.3.9

See more information here about restart policies.

Monitoring

The service exposes and endpoint that can be used to check its health i.e. http://localhost/actuator/health.assuming the service is listening on port 80.

The endpoint then should respond with {"status": "UP"}

Logs

To track the logs of the docker container use the following commands:

  • Find the container id for the c3cloud image with docker ps
  • Run docker logs --follow $CONTAINER_ID

To see the latest entries use docker logs -t --tail 10 ${CONTAINER_ID} There are several other commands

Tag summary

Content type

Image

Digest

Size

141.5 MB

Last updated

over 7 years ago

docker pull cdsplatform/c3cloud:0.3.9