Skip to content
Permalink
Browse files

Introduce env file.

  • Loading branch information...
DavidLemayian committed Jun 12, 2019
1 parent a65ac6a commit 5c43a03f3c83d5314a1c016a5756e3283e490873
Showing with 8 additions and 5 deletions.
  1. +4 −0 .env.default
  2. +1 −0 README.md
  3. +3 −5 docker-compose.yml
@@ -0,0 +1,4 @@
PYTHONDONTWRITEBYTECODE="True"
FLASK_APP=healthtools/manage.py
HTOOLS_ES_HOST=elasticsearch
HTOOLS_MEMCACHED_URL=memcached:11211
@@ -54,6 +54,7 @@ To get started with developing on HealthTools.API, do the following:
```shell
git clone https://github.com/CodeForAfricaLabs/HealthTools.API.git`
cd HealthTools.API
touch .env
docker-compose build web
docker-compose up web
@@ -20,11 +20,9 @@ services:
- memcached
volumes:
- "./:/htools-api"
environment:
- PYTHONDONTWRITEBYTECODE="True"
- FLASK_APP=healthtools/manage.py
- HTOOLS_ES_HOST=elasticsearch
- HTOOLS_MEMCACHED_URL=memcached:11211
env_file:
- .env.default
- .env

volumes:
elasticsearch-data: {}

0 comments on commit 5c43a03

Please sign in to comment.
You can’t perform that action at this time.