Comments (9)
@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.
from bracket.
@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
from bracket.
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:
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.
from bracket.
I could used it from remote by adding these environment variables CORS_ORIGINS
and NEXT_PUBLIC_API_BASE_URL
to the docker-compose file:
bracket-frontend:
...
environment:
NEXT_PUBLIC_API_BASE_URL: 'http://HOST_PC_IP:8400'
...
bracket-backend:
...
environment:
ENVIRONMENT: "DEVELOPMENT"
CORS_ORIGINS: '*'
PG_DSN: "postgresql://bracket_dev:bracket_dev@postgres:5432/bracket_dev"
...
from bracket.
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
from bracket.
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?
from bracket.
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?
from bracket.
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.
from bracket.
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_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.
from bracket.
Related Issues (20)
- can't run behind traefik proxy HOT 14
- Error when trying to add a round to a Swiss tournament HOT 3
- Add Player & Team ELO tracking at the Club level HOT 2
- Installation problem HOT 4
- Allow more input options when creating stage items HOT 1
- Create FAQ / troubleshooting docs HOT 1
- Internal Server Error HOT 4
- Cannot delete a Stage HOT 1
- can't push to origin HOT 1
- [Feature Request] Implement OpenID/oauth HOT 2
- Add Docker support for arm64 architecture HOT 5
- Proposal for Enhancements to the Project HOT 1
- Issues with hosting in Kubernetes HOT 3
- Datetime issues when Postgres database has a timezone set. HOT 3
- How do rounds work in round-robin?
- Display result of a round robin round HOT 3
- Add state management to tournaments HOT 1
- Improve design of overview of matches
- Allow freezing of tournament schedule HOT 1
- Issue Switching between stages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bracket.