Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 447 Bytes
version: '3'
services:
mysql:
image: mysql:5.7
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: getmarried
MYSQL_PASSWORD: getmarried
MYSQL_DATABASE: getmarried
django:
build:
context: ./
dockerfile: ./docker/django/Dockerfile
ports:
- "8000:8000"
command: /code/docker/django/start.sh
volumes:
- .:/code
depends_on:
- mysql