From 37619e7d1fcbae448b8fee3102e9b19b072125ea Mon Sep 17 00:00:00 2001 From: Dave Earley Date: Sat, 7 Dec 2024 08:53:51 -0800 Subject: [PATCH] Add APP_FRONTEND_URL to AIO Docker compose file --- docker/all-in-one/.env | 8 +++++++- docker/all-in-one/docker-compose.yml | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docker/all-in-one/.env b/docker/all-in-one/.env index 72fd12f5..a76047ce 100644 --- a/docker/all-in-one/.env +++ b/docker/all-in-one/.env @@ -1,12 +1,17 @@ -# See the README.md for informaiton on how to generate the JWT_SECRET and APP_KEY +# See the README.md file for informaiton on how to generate the JWT_SECRET and APP_KEY APP_KEY= JWT_SECRET= +# Frontend variables (Always prefixed with VITE_) VITE_FRONTEND_URL=http://localhost:8123 VITE_API_URL_CLIENT=http://localhost:8123/api VITE_API_URL_SERVER=http://localhost:80/api VITE_STRIPE_PUBLISHABLE_KEY=pk_test +# Backend variables +# These values may not be suitable for production environments. +# Please refer to the documentation for more information on how to configure these values +# https://hi.events/docs/getting-started/deploying LOG_CHANNEL=stderr QUEUE_CONNECTION=sync MAIL_MAILER=log @@ -15,5 +20,6 @@ FILESYSTEM_PUBLIC_DISK=public FILESYSTEM_PRIVATE_DISK=local APP_CDN_URL=http://localhost:8123/storage +APP_FRONTEND_URL=http://localhost:8123 DATABASE_URL=postgresql://postgres:secret@postgres:5432/hi-events diff --git a/docker/all-in-one/docker-compose.yml b/docker/all-in-one/docker-compose.yml index 68c5a79c..90f45285 100644 --- a/docker/all-in-one/docker-compose.yml +++ b/docker/all-in-one/docker-compose.yml @@ -15,6 +15,7 @@ services: - QUEUE_CONNECTION=${QUEUE_CONNECTION} - MAIL_MAILER=${MAIL_MAILER} - APP_KEY=${APP_KEY} + - APP_FRONTEND_URL=${APP_FRONTEND_URL} - JWT_SECRET=${JWT_SECRET} - FILESYSTEM_PUBLIC_DISK=${FILESYSTEM_PUBLIC_DISK} - FILESYSTEM_PRIVATE_DISK=${FILESYSTEM_PRIVATE_DISK}