mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
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
|
- Control which instances you want to federate with
|
||||||
|
|
||||||
## Setting up the developer environment
|
## 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.
|
For most testing, you'll want to use ngrok. Remember to set the DOMAIN in `.env` to your ngrok domain.
|
||||||
|
|
||||||
### Without Docker
|
### Without Docker
|
||||||
|
|
|
@ -31,8 +31,8 @@ services:
|
||||||
- celery_worker
|
- celery_worker
|
||||||
networks:
|
networks:
|
||||||
- main
|
- main
|
||||||
expose:
|
ports:
|
||||||
- 8000
|
- 8000:8000
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
|
Loading…
Reference in a new issue