Skip to content
Merged
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: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Important Render behavior:
- Render does not deploy `docker-compose.yml` directly for this service.
- Render builds from `Dockerfile` via `runtime: docker`.
- The service binds to `HOST=0.0.0.0` and Render's `PORT=10000`.
- SQLite is stored on a persistent Render disk mounted at `/app/data`.
- SQLite is stored on a persistent Render disk mounted at `/app/storage`.
- `preDeployCommand: npm run import-data` builds SQLite from `data/ingredients.json` before the service starts.

Deploy steps:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ services:
environment:
HOST: 0.0.0.0
PORT: 3333
SQLITE_PATH: /app/data/chekit.sqlite
SQLITE_PATH: /app/storage/chekit.sqlite
volumes:
- chekit-core-data:/app/data
- chekit-core-data:/app/storage

volumes:
chekit-core-data:
4 changes: 2 additions & 2 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ services:
- key: PORT
value: 10000
- key: SQLITE_PATH
value: /app/data/chekit.sqlite
value: /app/storage/chekit.sqlite
disk:
name: chekit-core-data
mountPath: /app/data
mountPath: /app/storage
sizeGB: 1
Loading