init.sql
, which you will need in the next step.
<tag>
with the specific version of the portal you intend to launch before executing the command, e.g. tykio/portal:v1.7
for the portal v1.7. You can browse all available versions on Docker Hub and in the release notes section.
<tag>
with the specific version of the portal you intend to launch before executing the command, e.g. tykio/portal:v1.7
for the portal v1.7.
You can browse all available versions on Docker Hub and in the release notes section.
init.sql
, which you will need in the next step.
docker-compose.yaml
file. An example of the portal’s docker-compose file is provided below, which you can use as a starting point and further customize to meet your specific requirements.
Ensure that you replace <tag>
with the specific version of the portal you intend to launch before executing the command, e.g. tykio/portal:v1.7
for the portal v1.7. You can browse all available versions on Docker Hub and in the release notes section.
docker-compose.yaml
file.
An example of the portal’s docker-compose file is provided below, which you can use as a starting point and further customize to meet your specific requirements.
Ensure that you replace <tag>
with the specific version of the portal you intend to launch before executing the command, e.g. tykio/portal:v1.7
for the portal v1.7.
You can browse all available versions on Docker Hub and in the release notes section.
global.components.devPortal
during Tyk Self-Managed deployment by following the Tyk Self-Managed installation instruction using our tyk-stack
umbrella chart. It will install Tyk Enterprise Developer Portal together with Tyk Gateway and Dashboard in the same namespace.
Alternatively, you can install Tyk Enterprise Developer Portal as standalone component using our tyk-dev-portal
chart. This page provides a clear and concise, step-by-step guide for installing the Tyk Enterprise Developer Portal as standalone component using the new helm chart.
To install the portal using helm charts, you need to take the following steps:
tyk-dev-portal-conf
secretvalues.yaml
tyk-dev-portal-conf
secret
Make sure the tyk-dev-portal-conf
secret exists in your namespace.
This secret will automatically be generated if Tyk Dashboard instance was bootstrapped with tyk-boostrap component chart
and bootstrap.devPortal
was set to true
in the values.yaml
.
If the secret does not exist, you can create it by running the following command.
TYK_ORG
and TYK_AUTH
are the Tyk Dashboard Organization ID and the Tyk Dashboard API Access Credentials respectively. These can be obtained under your profile in the Tyk Dashboard.
values.yaml
or with --set {field-name}={field-value}
using the helm upgrade command:
Field Name | Description |
---|---|
global.adminUser.email and global.adminUser.password | Set portal admin username and email for bootstrapping |
global.secrets.devPortal | Enable portal bootstrapping by providing secret name |
license | Tyk license key for your portal installation |
storage.type | Portal storage type, e.g. fs, s3 and db |
image.tag | Enterprise Portal version. You can get the latest version image tag from Docker Hub |
database.dialect | Portal database dialect, e.g. mysql, postgres |
database.connectionString | Connection string to the Portal’s database, e.g. for the mysql dialect: admin:secr3t@tcp(tyk-portal-mysql:3306)/portal?charset=utf8mb4&parseTime=true |
values.yaml
, you can also define the environment variables described in the configuration section to further customize your portal deployment. These environment variables can also be listed as a name value list under the extraEnvs
section of the helm chart.
Note: Helm chart supports Enterprise Portal v1.2.0+.
tyk-enterprise-portal-conf
secretvalues.yaml
tyk-enterprise-portal-conf
secret
Make sure the tyk-enterprise-portal-conf
secret exists in your namespace. This secret will automatically be generated during the Tyk Dashboard bootstrap if the dash.enterprisePortalSecret
value is set to true
in the values.yaml
.
If the secret does not exist, you can create it by running the following command.
TYK_ORG
and TYK_AUTH
are the Tyk Dashboard Organization ID and the Tyk Dashboard API Access Credentials respectively. Which can be obtained under your profile in the Tyk Dashboard.
values.yaml
or with --set {field-name}={field-value}
with the helm upgrade command:
Field Name | Description |
---|---|
enterprisePortal.enabled | Enable Portal installation |
enterprisePortal.bootstrap | Enable Portal bootstrapping |
enterprisePortal.license | Tyk license key for your portal installation |
enterprisePortal.storage.type | Portal database dialect, e.g mysql, postgres |
enterprisePortal.storage.connectionString | Connection string to the Portal’s database, e.g for the mysql dialect: admin:secr3t@tcp(tyk-portal-mysql:3306)/portal?charset=utf8mb4&parseTime=true |
extraEnvs
section of the helm chart.
Note: Helm chart supports Enterprise Portal v1.2.0+.
portal-1.7.0-1.x86_64.rpm
with an actual filename of the package you have downloaded on the previous step.
/opt/portal/portal.conf
.
Initially, the config file is filled with the default values. The minimal configuration change to start the portal is to add the LicenseKey
property to the config file.
The below sample configuration will start the portal on portal 3001 with PostgreSQL as a database, no TLS enabled, and all CMS assets (images, theme files, etc.) are stored in the filesystem.
You can, however, customize the provided example and make more suitable for your need using the configuration reference.
Register to Developer portal
button to complete the bootstrapping process.
The bootstrap process should take no longer than a couple of seconds, so almost instantly the portal will display the following page, which confirms the successful bootstrap.
Login
button to proceed to the login page, where you can use the newly created super admin credentials to log in to the portal.