added docker config for develop settings

This commit is contained in:
Ilkka Oksanen
2017-02-24 14:37:02 +02:00
parent 79a06a44ea
commit 160fa026bb
2 changed files with 22 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
version: '2'
services:
db:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=toor
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db