Sign inSign up

jmaclean/hello-world

By jmaclean

Updated 3 days ago

Image used for deployment testing in cloud environments

Image
0

2.3K

jmaclean/hello-world repository overview

Hello World

This GIT repo and image is used for versioning and deployment testing in extremely simple CICD pipelines.

How it works

The docker image created includes the html page displaying a version number. This version number is controlled by the VERSION environment variable (which in itself can be controlled by any other external effects like Jenkins).
The page can be views on port 80 and 443 (self signed certificate).

Persistence

In some cases persistenceStorage needs to be tested in the cloud environment. The persistenceStorage section offers the capabilities to simply upload files to the server. The files will uploaded to the directory /data. In turn, this directory can than be used to test persistenceStorage.

Loading config files

The main page will load all configuration files at startup and display the configured variable. Mind to restart the containers when changing the configuration as PHP caches the configuration.

References

Tag summary

Content type

Image

Digest

sha256:6d3b844b5

Size

11.3 MB

Last updated

over 3 years ago

docker pull jmaclean/hello-world