mirror of
https://github.com/cyberperspectives/sagacity-dev.git
synced 2024-12-21 23:11:01 -05:00
Add docker compose yaml file.
This commit is contained in:
parent
933ebcb39b
commit
1180d652a2
23
docker-compose-sagacity.yml
Normal file
23
docker-compose-sagacity.yml
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user