2015-03-10 09:01:22 -06:00
|
|
|
db:
|
2015-04-07 08:25:39 -06:00
|
|
|
image: mariadb:5.5
|
|
|
|
environment:
|
|
|
|
- MYSQL_DATABASE=network
|
|
|
|
- MYSQL_USER=network
|
|
|
|
- MYSQL_PASSWORD=network
|
|
|
|
- MYSQL_ROOT_PASSWORD=toor
|
2015-03-10 09:01:22 -06:00
|
|
|
web:
|
|
|
|
build: .
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
environment:
|
|
|
|
- DJANGO_SETTINGS_MODULE=network.settings.dev
|
2015-03-11 03:37:13 -06:00
|
|
|
- DEFAULT_FROM_EMAIL=noreply@example.com
|
|
|
|
- ALLOWED_HOSTS=*
|
2015-04-07 08:25:39 -06:00
|
|
|
- DATABASE_URL=mysql://network:network@db/network
|
2015-03-10 09:01:22 -06:00
|
|
|
command:
|
2015-05-09 03:51:24 -06:00
|
|
|
./docker/run-fig.sh
|