From 71bd7412e6dc7e4e458bb74fc8d5671b158722d3 Mon Sep 17 00:00:00 2001 From: Logan Buckley Date: Wed, 17 Jun 2020 12:53:44 -0400 Subject: [PATCH] Tweaks needed to get running with docker-compose locally --- README.md | 7 +++++++ docker-compose.yml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3103142e7..1672f4853 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 0a331c936..1436b29fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,8 +31,8 @@ services: - celery_worker networks: - main - expose: - - 8000 + ports: + - 8000:8000 redis: image: redis env_file: .env