Created
April 17, 2021 21:04
-
-
Save dnburgess/6f7e9d3592ab356d4ba4d2927ec014a0 to your computer and use it in GitHub Desktop.
DB Tech Monica Install
This file contains hidden or 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