Add proxy readme

This commit is contained in:
Dominik Milacher 2025-06-14 12:21:33 +02:00
parent be9e3a7ee7
commit 8b5c86aff8

View File

@ -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
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
}