Prerequisites
- Docker Engine 24.0 or later
- Docker Compose v2.20 or later
Instructions
Step 1: Create a Gateway configuration file
Create a file namedtyk.conf with the following content:
Step 2: Create a folder for API definitions (Linux only)
The Gateway saves the APIs that you create through the Gateway API in theapps folder. The Gateway container runs as user 65532. On Linux, create the folder and give it to this user before you start the Gateway. If you do not, the Gateway cannot save your APIs:
Step 3: Create a Docker Compose file
Create a file nameddocker-compose.yml with the following content: