forked from mirrors/bookwyrm
Merge pull request #185 from loganmhb/docker-setup-tweaks
Tweaks needed to get running with docker-compose locally
This commit is contained in:
commit
a1f6a96fae
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