You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About Docker Image, Is there any example of docker compose as I using Portainer. I try using dockerfile to compile image but there seams error in Pipeline
Just asking, I want to try the application, the docker is up and running but I greeted by login screen. How I want to configure admin or login the application as signup is disable in this stage?
I try add ci.env on bracket-backend but get some error. Is I am doing wrong?
Ah I realized I didn't write what credentials to use, I have specified that now in the README (#283).
The error you see is indeed a bug, thanks for notifying me. I have merged a fix here: #282
I created a new release, so if you pull the new docker images, it should work. (sudo docker-compose pull)
It shouldn't be necessary to add ci.env or such files, you can specify the environment variables in the docker-compose.yml. So if you want to change the admin password, add ADMIN_PASSWORD: "my password" here:
Thanks for update, but I encounter a problem. Example I run the docker on a PC-(A) than access the docker from another PC-(B), I cannot login, it give Failed to load resource: net::ERR_BLOCKED_BY_CLIENT localhost:8400/token:1 on Inspect element console. Do I need to configure CORS_ORIGINS or this version only run on localhost?
I think CORS_ORIGINS should just contain the IP address of the PC that hosts the webserver (so PC A).
But I haven't tested it with IP addresses on a local network, only domain names on the public internet, for which it works.
I have disabled the CORS middleware for the DEV environment. Also I added NEXT_PUBLIC_API_BASE_URL to the docs and example docker-compose.yml to explain how to run the frontend on somewhere else than localhost
Does this solve the unclarity? For now, I will turn this into a discussion because it's more about help than a specific feature/bug.
Repository owner locked and limited conversation to collaborators on Feb 6, 2024
Activity
officialdanielamani commentedon Aug 14, 2023
About Docker Image, Is there any example of docker compose as I using Portainer. I try using dockerfile to compile image but there seams error in Pipeline
evroon commentedon Aug 14, 2023
@officialdanielamani Thanks for your interest, in #208 I am trying to get the docker compose config to work, but it's not finished yet.
I can try to get it to work in a few weeks, but don't have time right now.
evroon commentedon Sep 12, 2023
@officialdanielamani the docker-compose config should now work.
See: https://github.com/evroon/bracket/blob/master/docker-compose.yml
You should be able to start Bracket using the commands written here:
https://github.com/evroon/bracket#quickstart
officialdanielamani commentedon Sep 24, 2023
Just asking, I want to try the application, the docker is up and running but I greeted by login screen. How I want to configure admin or login the application as signup is disable in this stage?
I try add ci.env on bracket-backend but get some error. Is I am doing wrong?
evroon commentedon Sep 24, 2023
Ah I realized I didn't write what credentials to use, I have specified that now in the README (#283).
The error you see is indeed a bug, thanks for notifying me. I have merged a fix here: #282
I created a new release, so if you pull the new docker images, it should work. (
sudo docker-compose pull)It shouldn't be necessary to add
ci.envor such files, you can specify the environment variables in thedocker-compose.yml. So if you want to change the admin password, addADMIN_PASSWORD: "my password"here:https://github.com/evroon/bracket/blob/master/docker-compose.yml#L18
But then you need to recreate the database, by deleting and recreating the database container for example.
officialdanielamani commentedon Sep 24, 2023
Thanks for update, but I encounter a problem. Example I run the docker on a PC-(A) than access the docker from another PC-(B), I cannot login, it give
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT localhost:8400/token:1on Inspect element console. Do I need to configure CORS_ORIGINS or this version only run on localhost?evroon commentedon Sep 26, 2023
I think
CORS_ORIGINSshould just contain the IP address of the PC that hosts the webserver (so PC A).But I haven't tested it with IP addresses on a local network, only domain names on the public internet, for which it works.
GithubPatrick91 commentedon Jan 4, 2024
I could used it from remote by adding these environment variables
CORS_ORIGINSandNEXT_PUBLIC_API_BASE_URLto the docker-compose file:evroon commentedon Feb 6, 2024
I have updated docker-compose.yml and also the docs: https://evroon.github.io/bracket/docs/running-bracket/deployment/
I have disabled the CORS middleware for the DEV environment. Also I added
NEXT_PUBLIC_API_BASE_URLto the docs and example docker-compose.yml to explain how to run the frontend on somewhere else than localhostDoes this solve the unclarity? For now, I will turn this into a discussion because it's more about help than a specific feature/bug.