Environment Setup (Docker)

Requirements

NB: If you don't want to use Docker you need the following tools in your machine
    Postgresql 11+
    Java 10+
    Gradle 5+

Docker Development Environment

Start docker services is simple, docker compose works for you for all the volumes, services and variables mapping.
1
# from gemini project root (you can find on Github)
2
$ cd docker/dev
3
$ docker-compose up -d
4
5
# Environment is now ready
6
# goto http://127.0.0.1:8081 - PgAdmin
7
# goto http://127.0.0.1:8082 - SwaggerUI
8
# follow instruction below to Start Gemini
Copied!
Inside the docker/dev/ directory you have the docker-compose configuration and a real working directory environment that you can use or modify. The default environment has the following services:
    Postgresql 11+ database
      port=5432 - dbname=gemini - user=gemini - pwd=gemini
      Spring wd/application.properties already uses previous parameters
    PgAdmin to have a full control of postgres server
      Exposed on port 8081 (http://127.0.0.1:8081)
      Login Username and Password are both gemini
      The Gemini - Docker server configuration is provided out of the box just type the gemini password the first time
    Swagger UI to consume the Gemini APIs
      Available on port 8082 (http://127.0.0.1:8082)
      Gemini autogenerated openapi definitions are automatically loaded where:
        ALL definition lists all the Gemini resources (also metadata and core resources)
        RUNTIME definiton lists only the resurces defined in the RUNTIME.at DSL file
Last modified 2yr ago