Sign inSign up

decerto/higson-runtime-rest

By decerto

Updated 9 days ago

Image
0

6.3K

decerto/higson-runtime-rest repository overview

Higson Runtime REST

Higson Runtime REST Docker container. Database driver for h2 and postgresql are included.

Running container

Requirements :

  • Running database (oracle/mssql/mysql/postgres/h2)

Use below docker-compose.yml to run container:

version: "3.7"

services:
  higson-runtime-rest:
    image: decerto/higson-runtime-rest:${HIGSON_RUNTIME_REST_VERSION}
    container_name: higson-runtime-rest
    ports:
      - "8081:8081"
    volumes:
      - "${DATABASE_DRIVER_PATH}:/usr/higson/db-driver.jar"
    environment:
      - "HIGSON_DATABASE_URL=${JDBC_URL_TO_RUNNING_DB}"
      - "HIGSON_DATABASE_USERNAME=${DB_USERNAME}"
      - "HIGSON_DATABASE_PASSWORD=${DB_PASSWORD}"
    networks:
      - higson-net

networks:
  higson-net:
    driver: bridge

Variables to set:

  • HIGSON_RUNTIME_REST_VERSION - existing Higson Runtime REST image version (tag), ex: 4.0.1
  • DATABASE_DRIVER_PATH - path to your database driver file, ex: /drivers/postgresql-driver/postgresql-42.6.0.jar
  • JDBC_URL_TO_RUNNING_DB - JDBC URL to your running database, ex: jdbc:postgresql://higson-db:5432/higson?currentSchema=public
  • DB_USERNAME - database username
  • DB_PASSWORD - database password

After running Higson Runtime REST Swagger will be available at: http://localhost:8081/swagger-ui/index.html

Additional configuration

Application properties can be also configured by passing application.properties file, ex:

...
    volumes:
        - /configuration/application.properties:/usr/higson/application.properties
...

Documentation

Complete documentation available at: https://www.higson.io/docs/start-documentation

Tag summary

Content type

Image

Digest

sha256:1ba83b2bf

Size

551.1 MB

Last updated

9 days ago

docker pull decerto/higson-runtime-rest:4.3.3