Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
moves environment variables from .env to docker-compose so the runner…
Browse files Browse the repository at this point in the history
… of docker-compose will set the right configurarions
  • Loading branch information
Felipe Morais committed May 12, 2017
1 parent ed7a711 commit 40a939a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
version: '2'
services:
jarbas:
build:
context: .
dockerfile: Dockerfile
image: felipedemorais/auto-jarbas
volumes:
- "assets:/code/staticfiles"
- "./:/code"
- ".env:/code/.env"
environment:
- SECRET_KEY=lets-rock
- DATABASE_URL=postgres://jarbas:mysecretpassword@db/jarbas
- CACHE_BACKEND=django.core.cache.backends.memcached.MemcachedCache
- CACHE_LOCATION=cache:11211
- DEBUG=True
- ALLOWED_HOSTS=localhost,127.0.0.1
- AMAZON_S3_BUCKET=serenata-de-amor-data
- AMAZON_S3_REGION=s3-sa-east-1
- AMAZON_S3_CEAPTRANSLATION_DATE=2016-08-08
- GOOGLE_STREET_VIEW_API_KEY=my-google-places-api-key

depends_on:
- elm
- db
Expand Down

0 comments on commit 40a939a

Please sign in to comment.