Install

Quick start

WARNING

You will only see a login page, and you will not be able to log in, because in the standard setup, there is no user.

Everything is in very early stages of development.

  1. Create a file docker-compose.yml with the following content

    version: "3.9"
    
    services:
      database:
        image: docker.io/bitnami/postgresql:14
        ports:
          - '5432:5432'
        environment:
          - POSTGRESQL_DATABASE=gachou
          - POSTGRESQL_USERNAME=${POSTGRESQL_USERNAME}
          - POSTGRESQL_PASSWORD=${POSTGRESQL_PASSWORD}
        healthcheck:
          test: pg_isready -U "${POSTGRESQL_USERNAME}" -d "${POSTGRESQL_PASSWORD}"
          interval: 3s
          timeout: 3s
          retries: 10
    
      backend:
        image: registry.gitlab.com/gachou/gachou-backend-2022:preview
        environment:
          QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://database:5432/gachou
          QUARKUS_HTTP_CORS_ORIGINS: "http://localhost:9080"
        ports:
          - "9081:8080"
        depends_on:
          - database
    
      frontend:
        image: registry.gitlab.com/gachou/gachou-web-ui:preview
        ports:
          - "9080:80"
        environment:
          GACHOU_WEB_UI_CONFIG: '{ "apiBaseUrl": "http://localhost:9081" }'
    
  2. Add a file .env with the following content to the same directory

    POSTGRESQL_DATABASE=gachou
    POSTGRESQL_USERNAME=gachou
    POSTGRESQL_PASSWORD=gachou-dev-pw
    
  3. Run

    docker-compose up -d
    
Last Updated:
Contributors: Nils Knappmeier