Repository navigation
Docker image for production - #563
MichaelTimbert wants to merge 9 commits into
Conversation
|
@MichaelTimbert, I set the target branch to be develop. |
|
I checked the branch (PR) out and ran |
|
@matsduf This concerns the "all-in-one" image; you need to follow the procedure described at https://github.com/zonemaster/zonemaster/blob/master/docs/internal/maintenance/ReleaseProcess-create-docker-image.md, as each image is based on the previous one. |
Of course! I did not think of that. I was focused on the new image. Could you update "how to test" with a comment that all-in-one requires the full chain? I will redo my test with stand-alone only. |
|
So far so good. When I follow "how to test" I get the expected result. Next step is to test it against Backend in Docker. On the server I see some logs from Apache. One such line is How will a DNS lookup for |
|
Good point. While |
To make the Backend connect URL configurable? It means all parts including if it is http or https and what port to connect to? |
The |
Purpose
This PR prepares the
docker/Dockerfile-guiimage, which is based onhttpd:2.4(apache), for use in a production Docker setup.Context
The
docker/Dockerfile-guiimage is intended for production deployments of the Zonemaster GUI.The new CI job ensures the image keeps building.
Changes
docker/Dockerfile-guiLink to:
How to test this PR
Build the release:
npm run releaseRunning
make docker-build-stand-aloneto only build the newguiimage.if you run
makethis will build the 2 images:zonemaster/all-in-one:localzonemaster/gui:localNote: to build the All-In-One image you need to build need all other images (backend, cli, engine, ldns) in local to build.
You can test the image with:
With your browser go to
http://localhost/you must see the zonemaster gui running with the warning message "Failed to fetch version information".