Default to SQLite rather than Postgres & Redis (#72)
* Initial rough draft switch to sqlite. * Rewrote cache implemenation. * Provide typed tasks. * Task cleanup. * Use same db for tasks. * Provide task queue registration and service container injection. * Added optional delay to tasks. Pool buffers when encoding. * Added tests for the task client and runner. * Added handler examples for caching and tasks. * Cleanup and documentation. * Use make in workflow. * Updated documentation. * Updated documentation.
This commit is contained in:
parent
5e9e502b42
commit
a096abd195
29 changed files with 956 additions and 910 deletions
|
|
@ -1,18 +0,0 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
cache:
|
||||
image: "redis:alpine"
|
||||
container_name: pagoda_cache
|
||||
ports:
|
||||
- "127.0.0.1:6379:6379"
|
||||
db:
|
||||
# PG 16 is currently not supported https://github.com/ent/ent/issues/3750
|
||||
image: postgres:15-alpine
|
||||
container_name: pagoda_db
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
environment:
|
||||
- POSTGRES_USER=admin
|
||||
- POSTGRES_PASSWORD=admin
|
||||
- POSTGRES_DB=app
|
||||
Loading…
Add table
Add a link
Reference in a new issue