diff --git a/email-proxy/README b/email-proxy/README index 06ff343..82d9595 100644 --- a/email-proxy/README +++ b/email-proxy/README @@ -1,15 +1,20 @@ -# TODO bettter move everything to .env and gitignore it +SETUP -INITIAL SETUP - -cd email-proxy touch hotels.db # IMPORTANT +mv .env-template .env +# adjust .env docker compose up -d --build -In the current directory, to update the image&container run -docker compose up --build -this does not change the volume (db) - For resetting everything, also the db, before run -Use docker compose down -v \ No newline at end of file +Use docker compose down -v +rm hotels.db +touch hotels.db + +REVERSE PROXY + +/etc/caddy/Caddyfile: +api.dominikmilacher.com { + reverse_proxy /contact* localhost:8000 + encode +} \ No newline at end of file