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

NOISSUE - Add UI to the compose #56

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dborovcanin
Copy link
Contributor

What type of PR is this?

This is a feature - we are adding UI back!

What does this do?

This adds UI and supporting services back to the Magistrala composition.

Which issue(s) does this PR fix/relate to?

There is no such issue.

Have you included tests for your changes?

N/A

Did you document any new/modified feature?

Yes, the docs are updated.

Notes

N/A

@dborovcanin dborovcanin force-pushed the add-ui branch 2 times, most recently from 66d1824 to 8f7d613 Compare February 7, 2025 15:23
@dborovcanin dborovcanin marked this pull request as ready for review February 7, 2025 15:24
…mach#55)

Bumps [github.com/authzed/authzed-go](https://github.com/authzed/authzed-go) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/authzed/authzed-go/releases)
- [Commits](authzed/authzed-go@v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/authzed/authzed-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
docker/docker-compose.yml Outdated Show resolved Hide resolved
docker/.env Outdated Show resolved Hide resolved
docker/.env Show resolved Hide resolved
Signed-off-by: Dusan Borovcanin <[email protected]>
docker/.env Outdated

# runtime environment
RUNTIME_ENV=production # to be changed to production before production deployment
MG_UI_DOCKER_ACCEPT_EULA=false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add empty line

Signed-off-by: Dusan Borovcanin <[email protected]>
MG_READER_URL=http://timescale-reader:9011
MG_INVITATIONS_URL=http://invitations:9020
MG_UI_BACKEND_URL=http://ui-backend:9097
MG_JOURNAL_URL=http://journals:9021
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
MG_JOURNAL_URL=http://journals:9021
MG_JOURNAL_URL=http://journal:9021

MG_PROFILE_PICTURE_URL=http://backend:9097
MG_RE_URL=http://re:9008
MG_PROTOCOL="http"
MG_HOSTNAME="backend"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
MG_HOSTNAME="backend"
MG_HOSTNAME="ui-backend"

MG_UI_BACKEND_DB_SSL_KEY=
MG_UI_BACKEND_DB_SSL_ROOT_CERT=

## UI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NEXTAUTH_SECRET=4WdW0Z0tAOyQ/ZAI3YLVV/wNu+yUZXBLDDQ3AGrgfJ4=
NEXTAUTH_URL=http://localhost:3000
NEXT_PUBLIC_HOST_URL=http://localhost:3000
MG_PROFILE_PICTURE_URL=http://backend:9097
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
MG_PROFILE_PICTURE_URL=http://backend:9097
MG_PROFILE_PICTURE_URL=http://ui-backend:9097

MG_UI_BASE_PATH=/
NEXT_PUBLIC_MG_UI_BASE_PATH=/
NEXT_PUBLIC_NEXTAUTH_BASE_PATH=/api/auth
NEXT_PUBLIC_BACKEND_URL=http://backend:9097
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NEXT_PUBLIC_BACKEND_URL=http://backend:9097
NEXT_PUBLIC_BACKEND_URL=http://ui-backend:9097

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.

3 participants