DB Tech Monica Install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
app: | |
image: monica | |
depends_on: | |
- db | |
ports: | |
- 8485:80 | |
environment: | |
- APP_KEY=MiHe3JFtqFwnFaLC2X8tUzXsk56ExAKD #change this to another 32 character string. | |
- DB_HOST=db | |
volumes: | |
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Monica2:/var/www/html/storage | |
restart: always | |
db: | |
image: mysql:5.7 | |
environment: | |
- MYSQL_RANDOM_ROOT_PASSWORD=true | |
- MYSQL_DATABASE=monica | |
- MYSQL_USER=homestead | |
- MYSQL_PASSWORD=secret | |
volumes: | |
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Databases/Monica2:/var/lib/mysql | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment