feat: docker config for new frontend

This commit is contained in:
sam 2024-12-09 18:04:56 +01:00
parent c6eba5b51a
commit bb2fa55cd5
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 54 additions and 23 deletions

View file

@ -1,4 +1,11 @@
http:// {
# Frontend and API
http://localhost:80 {
reverse_proxy /api/* http://rate:5003
reverse_proxy http://frontend:3000
}
}
# prns.cc (profile URL shortener)
http://localhost:81 {
rewrite * /sid{uri}
reverse_proxy http://backend:5000
}

View file

View file

@ -0,0 +1,4 @@
PUBLIC_LANGUAGE=en
PUBLIC_BASE_URL=https://pronouns.cc
PUBLIC_SHORT_URL=https://prns.cc
PUBLIC_API_BASE=https://pronouns.cc/api