mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
feat(dev): combine all docker-compose setups
This commit is contained in:
parent
0a9956e1ae
commit
52a5a39cb3
4 changed files with 118 additions and 88 deletions
22
README.md
22
README.md
|
|
@ -102,16 +102,34 @@ Copy the file `.env.sample` to `.env` and add your Spotify API Key.
|
|||
|
||||
### Starting the application
|
||||
|
||||
We use `docker-compose` to provide a full local development environment.
|
||||
We use `docker compose` to provide a full local development environment.
|
||||
|
||||
```bash
|
||||
$ docker-compose up
|
||||
$ docker compose up
|
||||
```
|
||||
|
||||
You can now access the frontend at `http://localhost:3000` and the API at `http://localhost:3000/api`.
|
||||
|
||||
Frontend and API will automatically reload on any code changes.
|
||||
|
||||
### REPL Console
|
||||
|
||||
You can start the REPL console by starting the normal environment, and then running:
|
||||
|
||||
```bash
|
||||
$ docker compose run console
|
||||
```
|
||||
|
||||
### Observability
|
||||
|
||||
If you want to start the observability suite (Metrics & Tracing) locally, you can use the `observability` docker compose profile:
|
||||
|
||||
```bash
|
||||
$ docker compose --profile observability up
|
||||
```
|
||||
|
||||
Grafana is then available at `http://localhost:2345` and all sources are preconfigured.
|
||||
|
||||
## Test
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue