Skip to content

Instantly share code, notes, and snippets.

@escattone
Created November 16, 2016 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save escattone/a5a57892b483dc4fa3dad6508f6b40f3 to your computer and use it in GitHub Desktop.
Save escattone/a5a57892b483dc4fa3dad6508f6b40f3 to your computer and use it in GitHub Desktop.
.env
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
version: "2"
services:
web:
command: ./manage.py runserver_plus 0.0.0.0:8000
stdin_open: true
tty: true
environment:
- DEBUG_TOOLBAR=1
- DATABASE_URL=mysql://kuma:kuma@mysql/sample
worker:
environment:
- DATABASE_URL=mysql://kuma:kuma@mysql/sample
api:
environment:
- DATABASE_URL=mysql://kuma:kuma@mysql/sample
mysql:
environment:
- MYSQL_USER=kuma
- MYSQL_PASSWORD=kuma
- MYSQL_DATABASE=sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment