Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created April 17, 2021 21:04
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dnburgess/6f7e9d3592ab356d4ba4d2927ec014a0 to your computer and use it in GitHub Desktop.
DB Tech Monica Install
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