Skip to content

Commit

Permalink
Add note on Redis requirement for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 9, 2024
1 parent 5daa219 commit 4cbd361
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ Additionally, you can set the environment variable `VALIS_DB_RESET=false` or add
## Deployment

This section describes a variety of deployment methods. Valis uses gunicorn as its
wsgi http server. It binds the app both to port 8000, and a unix socket. The defaut mode
is to start valis with an awsgi uvicorn server, with 4 workers.
wsgi http server. It binds the app both to port 8000, and a unix socket. The default mode is to start valis with an awsgi uvicorn server, with 4 workers.

Valis requires a Redis database running at the default location in `localhost:6379`. If this is not possible, caching can be done in memory by modifying `~/.config/sdss/valis.yaml` to use `cache_backend: memcached`.

### Deploying Zora + Valis together
See the SDSS [Zora+Valis Docker](https://github.com/sdss/zora_valis_dockers) repo page.
Expand Down

0 comments on commit 4cbd361

Please sign in to comment.