Fix WEBAPP_URL cannot be set with prebuilt Docker image (#680)

* Fix WEBAPP_URL cannot be set with prebuilt Docker image

* Extend default docker-compose file and production script

* Update docs
This commit is contained in:
Matti Nannt
2023-08-12 11:53:23 +02:00
committed by GitHub
parent 47a8fd6b62
commit ebbde2b531
5 changed files with 15 additions and 7 deletions

View File

@@ -1,6 +1,9 @@
version: "3.3"
x-environment: &environment
environment:
# The url of your Formbricks instance used in the admin panel
WEBAPP_URL:
# PostgreSQL DB for Formbricks to connect to
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/formbricks?schema=public"

View File

@@ -108,6 +108,9 @@ cat <<EOT >docker-compose.yml
version: "3.3"
x-environment: &environment
environment:
# The url of your Formbricks instance used in the admin panel
WEBAPP_URL: "https://$domain_name"
# PostgreSQL DB for Formbricks to connect to
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/formbricks?schema=public"