Add proxy readme
This commit is contained in:
parent
be9e3a7ee7
commit
8b5c86aff8
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user