Skip to content

Docker-compose configuration doesn't work out the box #25

Description

@mirkoperillo

Using the default docker-compose configuration the brick-server fails because to many connections to Postgres.
Same situation as here #5 (comment)

My workaround is setting the max_connections parameters for the Postgres instance.

Here the snippet in my docker-compose.yml

 brickserver-postgres:
     container_name: brickserver-postgres
     image: "jbkoh/brickserver-postgresql:latest"
     command: postgres -c 'max_connections=300'
     environment: # Below secrets should be matched with the information in `configs.json` too.
       - POSTGRES_USER=bricker
       - POSTGRES_PASSWORD=brick-demo
       - POSTGRES_DB=brick

the interesting line is:

command: postgres -c 'max_connections=300'

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions