forked from kofal.net/stoatchat-self-hosted
fix: also account for revite environment
This commit is contained in:
@@ -58,6 +58,7 @@ services:
|
|||||||
web:
|
web:
|
||||||
image: ghcr.io/revoltchat/client:master
|
image: ghcr.io/revoltchat/client:master
|
||||||
restart: always
|
restart: always
|
||||||
|
env_file: .env.web
|
||||||
|
|
||||||
# File server (autumn)
|
# File server (autumn)
|
||||||
autumn:
|
autumn:
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# set hostname for Caddy
|
# set hostname for Caddy
|
||||||
echo "HOSTNAME=https://$1" > .env.web
|
echo "HOSTNAME=https://$1" > .env.web
|
||||||
|
echo "REVOLT_PUBLIC_URL=https://$1" >> .env.web
|
||||||
|
|
||||||
# hostnames
|
# hostnames
|
||||||
echo "[hosts]" >> Revolt.toml
|
echo "[hosts]" >> Revolt.toml
|
||||||
|
|||||||
Reference in New Issue
Block a user