Skip to content

Installation problem #606

Closed
Closed

Description

@Azurz

Hello,

I installed with Docker Compose, but I can't log in to the web console. I get this error.
POST http://localhost:8400/token net::ERR_CONNECTION_REFUSED

Activity

  1. robigan commented on Mar 17, 2024

    @robigan
    Contributor

    Provide docker compose configuration and more details.

    POST http://localhost:8400/token net::ERR_CONNECTION_REFUSED

    Where? Doing what? From the fronted? Is this what shows in the notification error (if from frontend) or some sort of console?

  2. Azurz commented on Mar 17, 2024

    @Azurz
    Author
    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://localhost:8400"
                NEXT_PUBLIC_HCAPTCHA_SITE_KEY: "10000000-ffff-ffff-ffff-000000000001"  # 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"
            restart: unless-stopped
            depends_on:
              - postgres
    
        postgres:
            image: postgres
            restart: always
            environment:
              POSTGRES_DB: bracket_dev
              POSTGRES_USER: bracket_dev
              POSTGRES_PASSWORD: bracket_dev
    

    image
    image

  3. evroon commented on Mar 18, 2024

    @evroon
    Owner

    It could be that your firewall is blocking port 8400

  4. TheKringel commented on Mar 19, 2024

    @TheKringel

    I installed Bracket today on my Synology Docker environment and had the same issue but was able to fix it based on this solution:
    #445

    I'm using DDNS for my synology and I'm now able to access Brackets through DDNS.

    For me the following worked:

    1. Add the following to the docker compose file
      CORS_ORIGINS: "*" as environment variable to bracket-backend container
      NEXT_PUBLIC_API_BASE_URL: "http://<my_ddns_name>:8400" to bracket-frontend
    2. re-create the docker containers
    3. Open Port on firewall
  5. Repository owner locked and limited conversation to collaborators on May 4, 2024
  6. converted this issue into a discussion #693 on May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions