Comments (4)
Hi there, not the main dev. I think this may be related to CORS. The python library that accepts connections has an environment argument for a Cors regex. What is your config?
from bracket.
Yes CORS is becoming a common problem, I think I'll disable the entire middleware by default. Now it's enabled by default
from bracket.
So i decided to re-start and will be going on a fresh debain installation;
Done sudo apt-get install docker-compose;
Pulled the repo with git clone https://github.com/evroon/bracket.git
Now in the docker-compose.yml:
version: '3.1'
services:
bracket-frontend:
image: ghcr.io/evroon/bracket-frontend
container_name: bracket-frontend
ports:
- "3000:3000"
environment:
NEXT_PUBLIC_API_BASE_URL: "http://tornuments.byteb.shop:8400"
NEXT_PUBLIC_HCAPTCHA_SITE_KEY: "my hcathpa key" # Public test key
restart: unless-stopped
bracket-backend:
image: ghcr.io/evroon/bracket-backend
container_name: bracket-backend
ports:
- "8400:8400"
environment:
ENVIRONMENT: "DEVELOPMENT"
PG_DSN: "postgresql://bracket_dev:bracket_dev@postgres:5432/bracket_dev"
volumes:
- ./backend/static:/app/static
restart: unless-stopped
depends_on:
- postgres
postgres:
image: postgres
restart: always
environment:
POSTGRES_DB: bracket_dev
POSTGRES_USER: bracket_dev
POSTGRES_PASSWORD: bracket_dev
Then done sudo docker-compose up -d
Opened ports 3000 and 8400 (just in case) TCP on AWS.
You can try and access it on http://tornuments.byteb.shop:3000
But cant login somehow...
from bracket.
Update: Somehow, idk what on god happend but it worked.
Issue: An warning appears when any user wants to create an account; and it is suppost to be visible to everyone the join tornument part... How can i do that?
Also https, and email, do i need to create an .env? How is it managed?
Thanks for the help so far!
from bracket.
Related Issues (20)
- 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
- Can Bracket be used to track ELO score of multiple players? HOT 2
- Please remove CORS HOT 11
- Discrepancies between API interface StageItemWithRounds and frontend's StageItemWithRounds HOT 1
- Possible oversight when rendering Swiss matches.
- Adding French on Crowdin HOT 2
- Error: There is no draft round, so no matches can be scheduled.
- First setup (docker), unable to login "Internal server error" HOT 2
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.