Create docker image #1

Closed
opened 2022-06-20 17:35:27 +02:00 by JeroenED · 0 comments
Owner

Create and publish docker image

Why do we need this?

Docker is currently the way to go for deploying applications. We should create a docker image to be relevant.

Design

We should look into which design for the image we want to implement.

The mantra of docker is "Do 1 thing and do it well". For webcron we have 2 things that should be done, namely the web interface and the daemon. The question that rises: Should we create 2 images then?

  • According to docker? yes.
  • According to our users? Probably not as you will have to create 3 containers (Database fyi) where forgetting the daemon-container will result in a not working state and negative reviews etc.

A solution for this can be that we create 3 images:

  • 1 image that incorporates daemon and web interface
  • 2 images that incorporates just 1 thing

Bear in mind that 2 images will also require a solution to check if the daemon is running from the web interface.

Create and publish docker image ## Why do we need this? Docker is currently the way to go for deploying applications. We should create a docker image to be relevant. ## Design We should look into which design for the image we want to implement. The mantra of docker is "Do 1 thing and do it well". For webcron we have 2 things that should be done, namely the web interface and the daemon. The question that rises: Should we create 2 images then? * According to docker? yes. * According to our users? Probably not as you will have to create 3 containers (Database fyi) where forgetting the daemon-container will result in a not working state and negative reviews etc. A solution for this can be that we create 3 images: * 1 image that incorporates daemon and web interface * 2 images that incorporates just 1 thing Bear in mind that 2 images will also require a solution to check if the daemon is running from the web interface.
JeroenED added the
enhancement
label 2022-06-20 17:35:27 +02:00
JeroenED self-assigned this 2022-06-20 17:35:27 +02:00
JeroenED added this to the Release 1.0 project 2022-06-20 17:35:27 +02:00
JeroenED added this to the (deleted) milestone 2022-06-20 17:47:13 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: webcron/webcron#1
No description provided.