Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: added missing env parameter for ADMIN_FRONTEND_APPFLOWY_CLOUD_URL to deploy.env #1111

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

nicolaus-hee
Copy link
Contributor

docker-compose.yml has env variable ADMIN_FRONTEND_APPFLOWY_CLOUD_URL set to ${ADMIN_FRONTEND_APPFLOWY_CLOUD_URL:-http://appflowy_cloud:8000}, though deploy.env makes no mention of the variable. In my environment, I needed to change the hostname which would also require changing it in deploy.env where it is not mentioned. I suggest adding it with the default value for convenience and consistency (the other two ADMIN_FRONTEND_... are included) purposes.

@khorshuheng khorshuheng self-requested a review January 2, 2025 03:01
@khorshuheng
Copy link
Collaborator

We can (and certainly should) add this variable. Although, if gotrue service and appflowy cloud service are deployed on the same network/docker compose, gotrue service can reach appflowy cloud directly via the service name appflowy_cloud, unless you change the service name for appflowy cloud.

@khorshuheng
Copy link
Collaborator

khorshuheng commented Jan 2, 2025

Anyway, this PR looks good to me. Once the commit message has been amended, we can merge this. The commit message should be in the form of (fix: [description starting with lower case])

@nicolaus-hee nicolaus-hee changed the title Added missing env parameter for ADMIN_FRONTEND_APPFLOWY_CLOUD_URL to deploy.env fix: added missing env parameter for ADMIN_FRONTEND_APPFLOWY_CLOUD_URL to deploy.env Jan 2, 2025
Adding ADMIN_FRONTEND_APPFLOWY_CLOUD_URL to `deploy.env` for convenience and consistency
@khorshuheng khorshuheng merged commit 8fa0a10 into AppFlowy-IO:main Jan 2, 2025
1 check passed
khorshuheng added a commit that referenced this pull request Jan 2, 2025
fix: added missing env parameter for ADMIN_FRONTEND_APPFLOWY_CLOUD_URL to deploy.env
@nicolaus-hee nicolaus-hee deleted the patch-2 branch January 2, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants