Document the deployment process #21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
E.g. for #20
Changing the base image
docker build -t amarillo-custom-base .docker tag amarillo-custom-base git.gerhardt.io/amarillo/amarillo-custom-basedocker push git.gerhardt.io/amarillo/amarillo-custom-baseCreating a derived image with different plugins (e.g mitanand)
docker build -t amarillo-mitanand -f standard.Dockerfile --build-arg="PLUGINS=amarillo-metrics amarillo-grfs-exporter" --build-arg="DOCKER_REGISTRY=git.gerhardt.io" .docker tag amarillo-mitanand git.gerhardt.io/amarillo/amarillo-mitananddocker push git.gerhardt.io/amarillo/amarillo-mitanandTo deploy, run
docker compose --profile enhancer --profile generator -p mitanand pullon the serverI have not tested how to install a locally changed plugin into the docker image. I looked into mounting volumes at build time, but it breaks portability so docker does not support it.
For automatically deploying the mitanand image, we can automate it easily. We can just create a mitanand.Dockerfile that has the GRFS plugin then build and deploy the mitanand instance from it in Jenkins. (or rename standard.Dockerfile and change it the same way)