Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Dev
  • Setup

Last edited by Andrea Pavlovic May 25, 2021
Page history

Setup

script/setup.pl

reads variables from the environment, to create the gateway configuration.

Once the setup has run, it not re-create the configuration. To change the database config at a later point, edit etc/ironapi_gw.conf (which will have been generated by the setup script).

These environment variables may be set (e.g. in a Dockerfile):

# db connect variables within the docker-network
DBUSER=postgres
DBHOST=genesis
DBPORT=5432

# Host port for API and GUI
GW_PORT=3222

# host and port for openapi ouput
#GW_HOST_OPENAPI=localhost
#GW_PORT_OPENAPI=GW_PORT

# authentication key for caching
GW_APIKEY=a9564ebc3289b7a14551baf8ad5ec60a

# gateway options

#GW_DEFAULT_PAGESIZE=10
#GW_MAX_PAGESIZE=101
#GW_ALLOW_LITERALS=0
GW_HUGE_LIMIT=10
#GW_UPLOAD_DIR_HOST=
#GW_UPLOAD_DIR=/app/var/upload/
#GW_VAR_DIR=/app/var/
#GW_FILE_STORE_IN_DB=0

# debug gateway (incl. listener)
#look for code changes every second
LISTENER_CHECK_FOR_CODE_CHANGES=1
GW_DEBUG=1
CATALYST_DEBUG=1
DBIC_TRACE=1
Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages