chore: remove unused Redis service and references (#26)
Publish / publish (push) Successful in 23s
Publish / publish (push) Successful in 23s
This commit was merged in pull request #26.
This commit is contained in:
+6
-7
@@ -35,7 +35,7 @@ src/
|
||||
|
||||
- **Node.js 22 LTS** — the Dockerfile base is `node:22-alpine`; match this locally
|
||||
- **pnpm 11.5.1** — managed via corepack (`corepack enable pnpm`)
|
||||
- **Docker + Docker Compose** — for MariaDB and Redis in dev
|
||||
- **Docker + Docker Compose** — for MariaDB in dev
|
||||
- **TypeScript 5.x** — installed per-workspace as a dev dependency
|
||||
|
||||
## Local Setup
|
||||
@@ -48,13 +48,13 @@ pnpm install
|
||||
|
||||
This installs all workspace packages (`apps/api` and `apps/pwa`) in a single pass.
|
||||
|
||||
### 2. Start the dev database and Redis
|
||||
### 2. Start the dev database
|
||||
|
||||
```bash
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up mariadb redis -d
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up mariadb -d
|
||||
```
|
||||
|
||||
The dev override (`docker-compose.dev.yml`) exposes MariaDB on `localhost:3306` and Redis on `localhost:6379`.
|
||||
The dev override (`docker-compose.dev.yml`) exposes MariaDB on `localhost:3306`.
|
||||
|
||||
### 3. Configure environment variables
|
||||
|
||||
@@ -238,17 +238,16 @@ Migration files live in `apps/api/src/db/migrations/` and are committed to versi
|
||||
## Docker Compose Dev Stack
|
||||
|
||||
```bash
|
||||
# Bring up the full dev stack (API in Docker + MariaDB + Redis, with ports exposed)
|
||||
# Bring up the full dev stack (API in Docker + MariaDB, with ports exposed)
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up
|
||||
|
||||
# Bring up only backing services (run API on host for faster iteration)
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up mariadb redis -d
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up mariadb -d
|
||||
```
|
||||
|
||||
The dev override:
|
||||
|
||||
- Exposes MariaDB on `localhost:3306`
|
||||
- Exposes Redis on `localhost:6379`
|
||||
- Mounts `apps/api/src` into the container for live source access
|
||||
- Sets `NODE_ENV=development`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user