Add Docker setup (db, FE and BE) for local development#707
Merged
Plebbaroni merged 4 commits intoCHAOS-224-KHAOS-rewritefrom Mar 25, 2026
Merged
Add Docker setup (db, FE and BE) for local development#707Plebbaroni merged 4 commits intoCHAOS-224-KHAOS-rewritefrom
Plebbaroni merged 4 commits intoCHAOS-224-KHAOS-rewritefrom
Conversation
added 4 commits
March 24, 2026 18:04
- Introduced `docker-compose.local.yml` for managing local services including PostgreSQL, backend, and frontend. Dockerfile.dev for both FE and BE. - Added scripts for database setup and reset (`setup-admin-db-dev.sh`, `reset-db-dev.sh`). Also, change the original setup script to make it suits our current docker orientation.
…this branch and do testing. - I WILL REVERT THESE FILES BEFORE MERGING.
…nv scripts" This reverts commit e36c1a1.
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.
Introduced
docker-compose.local.ymlfor managing local services including PostgreSQL, backend, and frontend. Dockerfile.dev for both FE and BE.I removed the db yml script for docker db container. Merge db container with the docker-compose.local.yml, to make all containers under the same network and file, easier to manage.
Added scripts for database setup and reset (
setup-admin-db-dev.sh,reset-db-dev.sh). Also, change the original setup script to make it suits our current docker orientation.setup-admin-db-dev.sh: this script is to set up admin email. Remember to replace your email in there.
reset-db-dev.sh: this script resets your db and migrate (make the db empty if you want to restart or smth).
Read the README2.md for extra information.