Timeline for Should I create a docker image for production from my dev environment?
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 28, 2023 at 18:25 | comment | added | timothepoznanski | @amon, Ok I see now why you think it is overcomplicated. :) In fact, I built this architecture in a purpose of learning only. I wanted to get closer to what might be done in a company (and I posted this question because I don't have any clue how it is done in real life with serious projects). I did all of that just to understand how all of this fits together (for example, how does it work when there are several developer and not only me). Also, I don't pay for docker hub private repo because we can have one for free. For my personals projects, I do use git and docker-compose. | |
| Oct 28, 2023 at 14:35 | comment | added | amon |
@Pozinux Using different OSes for test+prod (even though it won't matter much if both use the same container runtime). For a personal project: having a separate test server, when one server can run both containers. Paying for Docker Hub, you might not even need a container registry if you can transfer images directly or build them on the target server. For a personal project I'd literally deploy as git pull && docker-compose up on the target server. For a serious project having your own container registry is nice though, but I'd prefer controlling services via k8s or systemd (+podman).
|
|
| Oct 28, 2023 at 9:00 | answer | added | Ewan | timeline score: 2 | |
| Oct 28, 2023 at 6:40 | history | edited | timothepoznanski | CC BY-SA 4.0 |
added 85 characters in body
|
| Oct 28, 2023 at 6:35 | comment | added | timothepoznanski | @amon, can you tell me more about 'massively overcomplicating' please? For example, what could be simplified? | |
| Oct 28, 2023 at 6:21 | history | edited | timothepoznanski | CC BY-SA 4.0 |
added 122 characters in body
|
| Oct 28, 2023 at 6:17 | comment | added | timothepoznanski | Thanks so much @amon. As you were answering, I was editing the question to try to be more specific. I do have proxies services on testing and production servers and host several sites. I just removed them from my diagram to make things simplified for the question. :) | |
| Oct 28, 2023 at 6:12 | history | edited | timothepoznanski | CC BY-SA 4.0 |
deleted 272 characters in body
|
| Oct 28, 2023 at 6:06 | comment | added | amon | You're massively overcomplicating things, but the absence of CI/CD is notable. It would be common to have an automated pipeline that builds, tests, and deploys your project whenever you push to your repository. Another detail is the absence of a reverse proxy service. Not needed, but would allow you to host multiple sites on one server, for example both dev and prod. Such reverse proxies would typically also manage TLS termination. | |
| Oct 28, 2023 at 5:52 | review | Close votes | |||
| Nov 3, 2023 at 3:02 | |||||
| Oct 28, 2023 at 2:58 | comment | added | CommunityBot | Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. | |
| Oct 27, 2023 at 22:01 | comment | added | Doc Brown | reddit.com/r/ProgrammerHumor/comments/cw58z7/… | |
| S Oct 27, 2023 at 21:21 | review | First questions | |||
| Oct 28, 2023 at 2:58 | |||||
| S Oct 27, 2023 at 21:21 | history | asked | timothepoznanski | CC BY-SA 4.0 |