From dd83e0de95e3570768dea305a9c30c45cd48b361 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Fri, 10 Oct 2025 17:15:00 -0400 Subject: [PATCH] upd: docker update docker-compose and readme with updated docker image --- README.md | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f5ede2..7b501b0 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This was my first publicly available docker container so I did not realize what 1. Make a directory in your desired docker storage folder (e.g. `~/docker/sermon-notes`), then `cd` into it. 2. Create a file called `.env` in that folder, no need to add anything to it right now. -3. Run `docker run -d --name sermon-notes -p 80:80 -v $PWD/data:/data -v $PWD/.env:/var/www/html/.env ryanprather/sermon-notes:latest`, this will download and start the container and keep it running in the background. If you already have something on port 80 change the first `80` to whatever open port you'd like. +3. Run `docker run -d --name sermon-notes -p 80:80 -v $PWD/data:/data -v $PWD/.env:/var/www/html/.env gitea.rkprather.com/ryan/sermon-notes:latest`, this will download and start the container and keep it running in the background. If you already have something on port 80 change the first `80` to whatever open port you'd like. 4. Run `docker exec -it sermon-notes bash install.sh` This will run an install script to create an .env file specific to your install, populate with the beginning factors, and then run a `composer` command to download the necessary package dependancies. 5. Once complete you have a running system that you can navigate to in your browser with `http://{ip}:{port}`|`http://{hostname}:{port}`. Then you just need to register for an account. The first account that is created is made an admin so that you can access the `Reference Editor` and update any reference material if necessary. diff --git a/docker-compose.yml b/docker-compose.yml index fccadc4..02143c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,6 @@ services: ports: - 80:80 volumes: - - $PWD/data:/data - - $PWD/.env:/var/www/html/.env + - ${PWD}/data:/data + - ${PWD}/.env:/var/www/html/.env restart: unless-stopped