You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quickstart script with an ephemeral setup (e.g. docker).
Ideally we want to be able to spin up dependencies for local development.
This would be:
The database
Potentially a database UI (pgadmin)
Migration script(s) to perform migration on startup
Simply running docker compose up should run the relevant services - which local app should be able to connect with.
The .env and or .env.local file(s) should be used here for setting relevant env settings for the containers.
FixesFuelLabs#24
Add docker-compose setup to replace startup scripts.
* Add `docker-compose.yml` to define services for PostgreSQL, pgAdmin, and migration scripts.
* Update `README.md` to include instructions for using `docker compose up` for local development.
* Modify `scripts/start_local_server.sh` to remove the call to `scripts/start_local_db.sh` and use `docker-compose.yml` for starting services.
* Delete `scripts/start_local_db.sh`.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/FuelLabs/forc.pub/issues/24?shareId=XXXX-XXXX-XXXX-XXXX).
Context
A quickstart script with an ephemeral setup (e.g. docker).
Ideally we want to be able to spin up dependencies for local development.
This would be:
Simply running
docker compose up
should run the relevant services - which local app should be able to connect with.The
.env
and or.env.local
file(s) should be used here for setting relevant env settings for the containers.Background
The text was updated successfully, but these errors were encountered: