formatting

This commit is contained in:
2026-09-07 21:45:12 -04:00
parent 7d391fe3ef
commit 9f7f294f39
+5 -5
View File
@@ -13,24 +13,24 @@ If, for some reason, you're in an environment where accessing the debug logs is
# Debug guide for docker # Debug guide for docker
Install: Install:
``` ```sh
git clone git.lolcat.ca/lolcat/4get git clone git.lolcat.ca/lolcat/4get
make changes to docker/apache/http/httpd.conf (comment out the lines that disable logging) make changes to docker/apache/http/httpd.conf (comment out the lines that disable logging)
docker build -t luuul/4get . docker build -t luuul/4get .
``` ```
Run: Run:
``` ```sh
docker run --name 4get -p 80:80 -p 443:443 luuul/4get docker run --name 4get -p 80:80 -p 443:443 luuul/4get
``` ```
Get debug logs: Get debug logs:
``` ```sh
docker exec -it `docker ps -qf ancestor=luuul/4get:latest` sh # browse the container docker exec -it `docker ps -qf ancestor=luuul/4get:latest` sh # browse the container
docker exec -it `docker ps -qf ancestor=luuul/4get:latest` tail -f /var/log/apache2/error_log docker exec -it `docker ps -qf ancestor=luuul/4get:latest` tail -f /var/log/apache2/error_log
``` ```
need to restart container? Restart the container:
``` ```sh
docker restart 4get docker restart 4get
``` ```