Docker Project - tmansfield42/Tech-Journal GitHub Wiki
Monica - Docker Hub
Find Monica's image on the Docker hub here
Introduction
Monica is an open source personal relationship management system to organize the interactions with your loved ones.
Prerequisites:
Have a machine capable of pulling docker images from the web. Follow my Docker guide for help.
Guide
mkdir web
curl -sSL https://raw.githubusercontent.com/monicahq/docker/main/.examples/full/web/nginx.conf -o web/nginx.conf
curl -sSL https://raw.githubusercontent.com/monicahq/docker/main/.examples/full/web/Dockerfile -o web/Dockerfile
-
Edit the
docker-compose.yml
file and paste my edited monica docker-compose.yml file in there. -
You may need to change the APP_KEY: If this is the case, use Norton's password generator (or any 32-char key generator). Set the length to 32 and exclude punctuation.
as so:
-
In this same directory, run
docker-compose up -d
anddocker ps
to check if the process has run correctly. If so, go to docker01-michael:8085 and you should see the Monica setup page. -
Run this command once:
docker-compose exec app php artisan setup:production
-
Once this is done, follow the instructions on the webpage and enjoy Monica!
Problems (resolved in guide)
- Even after generating a 32 character key I kept getting an error when I went to my webpage telling me I was using an unsupported cipher. Using the command Monica gives you to generate this key
echo -n 'base64:'; openssl rand -base64 32
does NOT work. Every time this command is used, the key always has punctuation which is unsupported.
- All other problems were a result of using an incorrectly formatted docker-compose.yml file. I'll include Monica's page here for assistance