forked from mirrors/bookwyrm
Tweaks needed to get running with docker-compose locally
This commit is contained in:
parent
1a3cf4e3a6
commit
71bd7412e6
2 changed files with 9 additions and 2 deletions
|
@ -50,6 +50,13 @@ Since the project is still in its early stages, not everything here is fully imp
|
|||
- Control which instances you want to federate with
|
||||
|
||||
## Setting up the developer environment
|
||||
|
||||
Set up the environment file:
|
||||
|
||||
``` bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
For most testing, you'll want to use ngrok. Remember to set the DOMAIN in `.env` to your ngrok domain.
|
||||
|
||||
### Without Docker
|
||||
|
|
|
@ -31,8 +31,8 @@ services:
|
|||
- celery_worker
|
||||
networks:
|
||||
- main
|
||||
expose:
|
||||
- 8000
|
||||
ports:
|
||||
- 8000:8000
|
||||
redis:
|
||||
image: redis
|
||||
env_file: .env
|
||||
|
|
Loading…
Reference in a new issue