From b25abf4526b71b6412f622a1bd092a31eb0b11bb Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Sat, 7 Sep 2024 17:19:42 -0500 Subject: [PATCH] Make some things more clear --- README.md | 10 +++++++++- setup.sh | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a51f343..0723760 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ This is my website located at prime8.dev -## running +# download + +Run `sh <(curl -s https://raw.githubusercontent.com/moncheeta/p8d/master/download.sh)` to download the necessary files. + +# setup + +Run `setup.sh` to properly setup all the services. + +# run Run `docker compose up -d` to start up all the services in the background. You can stop them by running `docker compose down`. diff --git a/setup.sh b/setup.sh index 3f81be6..1300cbc 100755 --- a/setup.sh +++ b/setup.sh @@ -1,11 +1,11 @@ #!/bin/sh echo "setting up services" -docker compose up -d +docker compose up mail -d docker compose exec -it mail setup email add damian@prime8.dev docker compose restart mail docker compose exec -it mail setup alias add postmaster@prime8.dev damian@prime8.dev docker compose exec -it mail setup config dkim docker exec -it mail cat /tmp/docker-mailserver/opendkim/keys/prime8.dev/mail.txt -docker compose restart mail +docker compose down echo "services are set up" -- 2.43.4