servicecatalog / oscm-dockerbuild

OSCM docker build files.
Apache License 2.0
3 stars 10 forks source link

Provide OSCM as standolone setup using default ports #232

Closed GoebelL closed 4 years ago

GoebelL commented 4 years ago

Summary OSCM applications require different ports to be exposed on the docker host. In a common deployment only default ports are available. OSCM shall be deployed in a way that all applications are accessible with default ports.

Details A reference solution already exists (ask me). Idea is to add an nginx webserver in front of the OSCM docker network that operates as reverse proxy and exposes the applications on default TLS port.

Acceptance criteria

Additional context Ask me

uhu133 commented 4 years ago

Please also provide a (IP-address customized - if neccessary) home page with URLs for (probably not complete):

cworf91 commented 4 years ago

The proxy is deactivated by default. To start the proxy container, navigate into your installation directory and start the compose network: docker-compse -f docker-compose-proxy.yml up -d. To stop the proxy use: docker-compse -f docker-compose-proxy.yml stop.

GoebelL commented 4 years ago

@cworf91 For the oscm-proxy the deployer copies the keypair files in same ssl directory. This is different from other containers, and causes that custom key paths with chain certificates cannot be imported. Also the layout does not match with the documentation. Please correct this to have a unique layout.

How to fix: In docker-compose template the cert, chain and privkey must be mounted separately, in same way like the SSL files mounted in the oscm-core container. Currently on the parent folder is mounted. Don't forget to adapt the copy statements in the deployer start script.

SuessI commented 4 years ago

Documentation updated for ESCM 19.0 and distributed for review