Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ DATABASE_URL=postgresql://postgres:postgres@postgres:5432/remote_coding_agent

Database will be created automatically when you start with `docker compose --profile with-db`.

If you previously started the old compose config, reset the local DB volume once with `docker compose --profile with-db down -v` before bringing it back up.

</details>

---
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ services:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
# Postgres 18+ expects the volume at /var/lib/postgresql to manage its own versioned directories.
- postgres_data:/var/lib/postgresql
- ./migrations:/docker-entrypoint-initdb.d
ports:
- "${POSTGRES_PORT:-5432}:5432"
Expand Down