Skip to content

Add Docker setup (db, FE and BE) for local development#707

Merged
Plebbaroni merged 4 commits intoCHAOS-224-KHAOS-rewritefrom
CHAOS-688-docker-localhosting-setup
Mar 25, 2026
Merged

Add Docker setup (db, FE and BE) for local development#707
Plebbaroni merged 4 commits intoCHAOS-224-KHAOS-rewritefrom
CHAOS-688-docker-localhosting-setup

Conversation

@peternuyn
Copy link
Copy Markdown
Contributor

  • Introduced docker-compose.local.yml for 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.

Peter Nguyen 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.
@Plebbaroni Plebbaroni merged commit 505ce2c into CHAOS-224-KHAOS-rewrite Mar 25, 2026
2 checks passed
@Plebbaroni Plebbaroni deleted the CHAOS-688-docker-localhosting-setup branch March 25, 2026 02:32
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.

2 participants