23 lines
469 B
YAML
23 lines
469 B
YAML
version: "2"
|
|
services:
|
|
monicahq:
|
|
build: .
|
|
image: monicahq/monicahq
|
|
links:
|
|
- mysql
|
|
ports:
|
|
- 80:80
|
|
env_file: .env
|
|
volumes:
|
|
- ./persist/storage/app/public:/var/www/monica/storage/app/public
|
|
|
|
mysql:
|
|
image: mysql:5.7
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=sekret_root_password
|
|
- MYSQL_DATABASE=monica
|
|
- MYSQL_USER=homestead
|
|
- MYSQL_PASSWORD=secret
|
|
volumes:
|
|
- ./persist/mysql:/var/lib/mysql
|