Skip to content

Version of the separate Dockerfiles updated with Makefile#21

Open
YouSchnabel wants to merge 1 commit intogavodachs:masterfrom
YouSchnabel:master
Open

Version of the separate Dockerfiles updated with Makefile#21
YouSchnabel wants to merge 1 commit intogavodachs:masterfrom
YouSchnabel:master

Conversation

@YouSchnabel
Copy link
Copy Markdown

Here an offer of some modifications of the setup we use now in KM3NeT to build the separate postgres and server containers. As the latest debian is already at postgres version 17 and we need a setup that can be easily deployed and transferred to a Docker swarm, the main changes are:

  • adding a setenv.sh that also includes local folder configurations and that is propagated to the docker-compose.full.yml and the Dockerfiles
  • Reducing the additional files in dockerfiles/dachs/bin_compose to the ones needed at container build
  • adding a simple Makefile to generate the .env-file from the environment setting and doing the build and up/down of the container through make, providing the right environment variables.

An extended version of this is used at the KM3NeT VO server project, where the Makefile is also used for further setup tasks.

The changes should only touch the separate postgres/server setup, but I have not checked the other versions to verify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant