Docker Production & Development - #36
Draft
Sampiiiii wants to merge 7 commits into
Draft
Conversation
changes: - feat: added devcontainer base config json - feat: added devcontainer docker-compose for backend services - feat: added Dockerfile for devcontainer - feat: added env-setup scripts - chore: cleaned up old stuff
- build: Add .devcontainer/entrypoint.sh for certificate handling - build: Enhance Dockerfile to include Rust, EdgeDB, and pnpm setup for 'iforge' user - ci: Update .devcontainer/env-setup.sh with SSL certificate generation and EdgeDB environment parsing TODO: - prod configs - testing of devcontainer for actual development - sort out missing KV_PASSWORD env
…ork and that ill get working at some point
Gobot1234
reviewed
Nov 24, 2024
… app in the monorepo, config directory is for anything else)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces the new way of having Ignis deployed on our VM, this will come with a DevContainer Setup, development infrastructure composes with automatic cert management (might come later), and production docker swarm configs with certificate setup.
These configs will need some secrets added to certain folders but the ReadMes will explain this in more detail.
There will also be CICD changes to build each app container on code-changes, push to our github container registry, and eventually add testing and linting stages.
This should hopefully resolve issues with our CDN hosting, and remove the occasional issue where the server does not come up after it randomly reboots.
Tasks:
This will be done in the order of Config Changes -> Production setup -> CICD -> Documentation -> Development Testing & Setup (incl. Devcontainer) -> Documentation
This will also be updated in linear
Hopefully this will be done before christmas (dissertation dependant)