HUB
Sign inSign up
planet9 logo

neptunesoftware/planet9

By neptunesoftware

•Updated 15 days ago

Docker images for Neptune DXP - Open Edition [Planet9]

Image
9

100K+

neptunesoftware/planet9 repository overview

⁠About Neptune DXP - Open Edition [Planet9]

Unify everything! With Neptune DX Platform’s Open Edition [Planet9] you get the best of both worlds. A consistent, award-winning UX for all your apps and a drag-and-drop, no-code & low-code platform that simplifies your application development, integration, deployment, and management efforts.

With fragmentation on the rise in IT, unifying your UX has never been more critical. But application development the old-fashioned way opens the enterprise up to unacceptable risk. Get back control with Neptune DXP - Open Edition [Planet9] and standardize app development and optimize knowledge transfer from one resource to another. Take advantage of Neptune DXP - Open Edition [Planet9] unmatched architectural flexibility to take your apps and infrastructure anywhere with integration into any cloud, any backend and any architecture.

With application development for any backend based on REST APIs, running on state of the art backend and cloud-agnostic NodeJS, you now have the freedom of choice and flexibility to innovate – whether you’re developing new apps and front-end functionality, building applications on existing backends, or merging the best functionality of multiple systems into one powerful app.

Do more. Do it faster and with less risk. Scale effortlessly. Look brilliant. That’s life on Neptune DXP - Open Edition [Planet9].

⁠Tags

The only officially supported image tags follow our naming convention :v*.*.* which always points to the latest official release. Any other tags are not officially supported and should never be used in production-like systems.

⁠Configuration

⁠General

The default Neptune DXP - Open Edition [Planet9] instance does not run as a root therefore the Neptune DXP - Open Edition [Planet9] instance cannot listen by default on port 80 or 443. Take that into consideration when choosing the port that DXP - Open Edition [Planet9] should bind to. By default DXP - Open Edition [Planet9] binds to 8080. To configure SSL, see the SSL section.

A Neptune DXP - Open Edition [Planet9] instance always starts up with a local admin user. You can set the initial admin password with INITIAL_ADMIN_PASSWORD. This value will be only used if the underlying database has yet to be initialized. Once the underlying database is initialized, the password will be persisted in the underlying database. The value will not be valid anymore once the password has been changed in the Neptune DXP - Open Edition [Planet9] cockpit.

Note that you can also modify the majority of these settings in the cockpit, whatever is configured in the cockpit takes precedence over environment variables.

NameDefaultDescriptionRequiredSupported
NODE_ENVproductionIn general use production, development translates in verbose logging.≥v2.0.4
NAMENeptune DXP - Open EditionThe application/instance name≥v2.0.4
DESCRIPTIONInstallationThe application description≥v2.0.4
INITIAL_ADMIN_PASSWORDadminThe initial default password for the admin user.≥v2.0.4
SESSION_TIMEOUT180User session timeout in minutes≥v2.0.4
INSTANCES2The number of child processess that P9 should start up with≥v2.0.4
PORT8080≥v2.0.4
BACKGROUNDJOB_INTERVAL60How often the engine should check to see if there are any jobs to run (in seconds)≥v2.0.4
P9_MODULES_PATH.The path to the folder where custom NPM modules are located and should be installed≥v2.1.0
PLANET9_LOG_LEVEL_SERVER_SCRIPTinfoFor setting the log level of server scripts ('crit', 'error', 'warn', 'info', 'verbose', 'debug', 'silly')≥v22.10.2
P9_WEBAPP_DIR.The path to the folder where custom NPM modules are located and should be installed for web apps (app editor).≥v2.4.0
P9_SERVER_SCRIPTS_NPM.The path to the folder where custom NPM modules are located and should be installed for server scripts.≥v2.4.0
HTTP_RESPONSE_TIMEOUT120HTTP response timeout of Planet 9 in seconds≥v2.6.0
LOG_DIRlogFolder/path to store the log files.≥v2.6.2
CLIENT_REQUEST_TIMEOUT120Client request timeout (from client to external API endpoints) in seconds≥v21.10.2
SCRIPT_LOG_STDOUTfalseIf true logging in server scripts is sent to stdout≥v21.10.2
PLANET9_IP::The IP to listen on (not mandatory).≥v21.10.2
ALLOW_ORIGIN_WHITELIST[]The domains allowed to access.≥v21.10.2
DISABLE_FRAME_GUARDfalseRemoves X-Frame-Options from response headers.≥v21.10.2
CSP_WHITELIST[]The domains allowed to be loaded.≥v21.10.2
SAMESITE_VALUEStrictSameSite attribute value for cookie.≥v21.10.2
PROXY_WHITELIST[]The domains allowed to proxy.≥v21.10.2
HTTPS_HOSTEDfalseWhether Planet 9 is being accessed over HTTPS. Does not mean Planet 9 itself runs in HTTPS mode (nginx, haproxy etc could be handling HTTPS)≥v21.10.2
P9_LOG_REQUESTSfalseLog all requests to STDOUT and the requests folder.≥v21.10.2
SESSION_COOKIEfalseWhen set to true no expiry is set on the cookie. Cookie will be removed when all browser windows are closed.≥v22.10.0
DB_ENABLED_REDIStrueUse redis in-memory database. DB_URI_REDIS must also be set for redis to be enabled.≥v22.10.0
DB_URI_REDISEmpty StringURI for redis database.≥v22.10.0
CONFIG_SECRETSundefinedHide config parameters from file and db that can be set with env variables. Accepts a comma-delimited list of parameters, e.g. adminPassword,dbTypes.postgresql.password.≥v22.10.0
RULE_KERNEL_DISABLEDundefinedRULE_KERNEL_DISABLED = '1' will disable the engine rule kernel. Then you can have one dedicated app server that executes jobs.≥v22.10.0
DISABLE_AUDIT_LOGfalseDisable audit logging for artifact create, save and delete.≥v22.10.4
P9_MAX_LOG_FILE_SIZEundefinedFor setting max file size for log files after which the file will rotate. Value is a unit of k(kb), m(mb) or g(gb). The unit must directly follow the number e.g. 100m≥v22.10.2
MAX_SHUTDOWN_WAIT_TIME60Grace period when shutting down gently. Value is in seconds, default is 60 seconds.≥v22.10.2
SKIP_PACKAGE_IMPORTfalseDon't import internal package data on startup≥v24.11.0
SESSION_SECRETEmpty StringSecret used to sign session cookies. If not set, a random secret is generated on first use. This needs to be set in multi-instance setups.≥v24.14.1
IN_PROCESS_CACHE_ENABLEDtrueKeep query results, the launchpad structure and tile images in the memory of each process for a short time. Set to false to turn the in-process caches off.≥v24.14.5
IN_PROCESS_CACHE_MAX_SIZE_MB64Megabytes of query results each process keeps before the oldest are evicted.≥v24.14.5
IN_PROCESS_CACHE_MAX_ENTRIES5000Query results each process keeps before the oldest are evicted.≥v24.14.5
IN_PROCESS_CACHE_MAX_ENTRY_SIZE_MB4Megabytes a single query result may take; larger results are not cached.≥v24.14.5
IN_PROCESS_CACHE_MAX_AGE_HOURS24Hours a cached query result or launchpad structure is kept when no write to its tables clears it earlier.≥v24.14.5
IN_PROCESS_CACHE_DEFAULT_TTL_SECONDS60Seconds a query result cached without a cache group is kept; nothing clears it earlier.≥v24.14.5
SESSION_STORE_REDISfalseStore sessions in Redis instead of the sessions table. Requires DB_ENABLED_REDIS and DB_URI_REDIS. Redis is then required for login: if it is unreachable, requests fail and /healthz reports the session store as down.≥v24.14.5

⁠SSL

You can enable SSL within Planet9 itself. By default, this is disabled, set the ENABLE_SSL flag to enable SSL and specify other relevant environment variables.

NameDefaultDescriptionRequiredSupported
ENABLE_SSLfalseRun Neptune DXP - Open Edition in HTTPS mode.≥v2.0.4
SSLCAEmpty StringThe SSL certificate authority. (Required if SSL enabled and a SSL Certificate Authority is issued.)≥v2.0.4
SSLCERTEmpty StringThe SSL certificate. (Required if SSL enabled)≥v2.0.4
SSLKEYEmpty StringThe SSL private key. (Required if SSL enabled)≥v2.0.4
SSLPASSPHRASEEmpty StringThe SSL passphrase (Required if SSL enabled and a passhrase is required)≥v2.0.4
SSL_PORT8081The port to bind on for SSL. (Required if SSL enabled)≥v24.0.0

⁠NodeJS

As Neptune DXP - Open Edition is written on top of NodeJS, you can configure NodeJS by setting the NodeJS CLI environment variables⁠. This can be especially useful when it comes to configuring outbound SSL/TLS. We'll list here a few noteworthy variables, for the proper usage, see the official NodeJS Documentation.

NameDocs
NODE_EXTRA_CA_CERTS Docs⁠
NODE_TLS_REJECT_UNAUTHORIZED Docs⁠
OPENSSL_CONF Docs⁠
SSL_CERT_DIR Docs⁠
SSL_CERT_FILE Docs⁠

⁠Database

Neptune DXP - Open Edition persists all its state (Apps, Server Scripts, APIs, ...) and the majority of its configuration in an underlying database. By default, a Neptune DXP - Open Edition instance will initialize (or connect to) an SQLite database.

The SQLite database is initialized within the container. This means that the SQLite database is ephemeral and will be deleted on termination of the container. At the time of writing, mounting volume for the SQLite database is not supported. But this support is in the feature pipeline. SQLite is only intended for sandbox environments.

⁠Configure SQLite
NameDefaultDescriptionRequiredSupported
DB_TYPEsqliteNo need to specify as it's the default≥2.0.4
DB_SQLITE_PATH./db/planet9.sqlitePath for the SQLite DB with all the a Neptune DXP - Open Edition instance will initialize (or connect to) an SQLite database**. state.≥v2.1.0
DB_SQLITE_ENTITIES_PATH./db/planet9-entities.sqlitePath for the SQLite DB with all the entities data (from the Tools > Database)≥v2.1.0
⁠Configure PostgreSQL

You can configure your connection string with a single environment variable, using DB_URI_POSTGRES or you can configure each part of a connection with individual variables.

The target database must have a schema named planet9 before connecting a Neptune DXP - Open Edition instance to it. For more information regarding this consult the "Neptune DXP - Open Edition installation guide"⁠. If the database is empty, Neptune DXP - Open Edition will initialize all required tables and data on startup.

NameDefaultDescriptionRequiredSupported
DB_TYPEsqliteSet to postgresql≥2.0.4
DB_URI_POSTGRESEmpty StringThe URI for the database. If this is set, other POSTGRES options are ignored≥2.0.4
DB_PSQL_HOSTlocalhostDatabase host name/IP≥2.0.4
DB_PSQL_PORT5432Database port≥2.0.4
DB_PSQL_USEREmpty StringDB user≥2.0.4
DB_PSQL_PASSWORDEmpty StringDB password≥2.0.4
DB_PSQL_SCHEMAplanet9DB schema≥24.11.0
DB_PSQL_SSLfalseEnable SSL mode for the database≥2.0.4
DB_PSQL_DBNAMEPlanet9The database name (case sensitive!)≥2.0.4
DB_PSQL_POOL_SIZE10The poolsize of the database connector≥v22.10.15
⁠Configure MS SQL/Azure SQL

Supported from v2.1.0

The target database must have a schema named planet9 (unless configured otherwise) before connecting a Neptune DXP - Open Edition instance to it. For more information regarding this consult the "Neptune DXP - Open Edition installation guide"⁠. If the database is empty, Neptune DXP - Open Edition will initialize all required tables and data on startup.

NameDefaultDescriptionRequiredSupported
DB_TYPEsqliteSet to mssql≥2.0.4
DB_MSSQL_HOSTlocalhostDatabase host name/fqdn/IP≥v2.1.0
DB_MSSQL_PORT1433Database port≥v2.1.0
DB_MSSQL_USEREmpty StringDB user≥v2.1.0
DB_MSSQL_PASSWORDEmpty StringDB password≥v2.1.0
DB_MSSQL_SCHEMAplanet9≥v2.1.0
DB_MSSQL_DBNAMEplanet9The database name≥v2.1.0
DB_MSSQL_POOL_SIZE_MIN0The minimum of connections there can be in the pool≥v21
DB_MSSQL_POOL_SIZE_MAX10The maximum number of connections there can be in the pool≥v21
DB_MSSQL_REQUEST_TIMEOUT60The MS SQL request timeout expressed in seconds≥v21.10.2
⁠Configure SAP Hana DB

Supported from v21.10.0

NameDefaultDescriptionRequiredSupported
DB_TYPEsqliteSet to sap≥2.0.4
DB_SAP_URI''The URI for the database. If this is set, other options are ignored≥v21.10.0
DB_SAP_HOST''Host≥v21.10.0
DB_SAP_PORT39041Port≥v21.10.0
DB_SAP_SCHEMAPLANET9DB Schema≥v21.10.0
DB_SAP_USERNAME''DB Username≥v21.10.0
DB_SAP_PASSWORD''DB Password≥v21.10.0
DB_SAP_DATABASEHXEDatabase name≥v21.10.0
DB_SAP_SECUREfalse≥v21.10.0
DB_SAP_POOL_SIZE100≥v21.10.0
Tag summary
Recent tags
Content type
Image
Digest
sha256:e99ad5ce6…
Size
705.3 MB
Last updated
15 days ago
docker pull neptunesoftware/planet9:v25.0.1