mirror of
https://github.com/cyberperspectives/sagacity-dev.git
synced 2024-07-02 19:00:47 -04:00
23 lines
394 B
YAML
23 lines
394 B
YAML
|
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
|
||
|
|