Add docker compose yaml file.

This commit is contained in:
Ryan Prather 2019-01-17 15:18:54 -05:00
parent 933ebcb39b
commit 1180d652a2
No known key found for this signature in database
GPG Key ID: 66FDE2B4E8AB87A7

View File

@ -0,0 +1,23 @@
version: '3.6'
services:
sagacitydb:
image: mysql:5.7
hostname: sagacitydb
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=password
volumes:
- ./sagacitydb:/var/lib/mysql
sagacity:
build: ./sagacity
hostname: sagacity
ports:
- 80:80
depends_on:
- sagacitydb
volumes:
- ./sagacity:/var/www/html