Hi,
I tried to deploy Tyk Opensource Gateway v5.5.0 using docker compose by referring to this repo ( GitHub - TykTechnologies/tyk-gateway-docker: Docker compose deployment to run Tyk OSS Gateway.
I used 2 servers: one is Unbuntu 22.04, and another is Amazon Linux 2023 to deploy this v5.5.0 tyk gateway. Both servers have not installed Tyk before. Here are the info about these 2 servers:
docker version → ubuntu
Client:
Version: 28.2.2
API version: 1.50
Go version: go1.23.1
Git commit: 28.2.2-0ubuntu1~22.04.1
Built: Wed Sep 10 14:50:16 2025
OS/Arch: linux/amd64
Context: default
Server:
Engine:
Version: 28.2.2
API version: 1.50 (minimum version 1.24)
Go version: go1.23.1
Git commit: 28.2.2-0ubuntu1~22.04.1
Built: Wed Sep 10 14:50:16 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.28
GitCommit:
runc:
Version: 1.3.3-0ubuntu1~22.04.3
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:
Docker Compose version v5.0.2
release info → ubuntu
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION=“Ubuntu 22.04.5 LTS”
PRETTY_NAME=“Ubuntu 22.04.5 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.5 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL=“https://www.ubuntu.com/”
SUPPORT_URL=“https://help.ubuntu.com/”
BUG_REPORT_URL=“Bugs : Ubuntu”
PRIVACY_POLICY_URL=“Data privacy | Ubuntu and Canonical Legal”
UBUNTU_CODENAME=jammy
docker version → amazon Linux 2023
Client:
Version: 25.0.5
API version: 1.44
Go version: go1.22.5
Git commit: 5dc9bcc
Built: Wed Aug 21 00:00:00 2024
OS/Arch: linux/amd64
Context: default
Server:
Engine:
Version: 25.0.6
API version: 1.44 (minimum version 1.24)
Go version: go1.22.5
Git commit: b08a51f
Built: Wed Aug 21 00:00:00 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.25
GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc:
Version: 1.2.4
GitCommit: 6c52b3fc541fb26fe8c374d5f58112a0a5dbda66
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Docker Compose version v5.0.2
release info → Amazon Linux 2023
Amazon Linux release 2023.6.20250211 (Amazon Linux)
NAME=“Amazon Linux”
VERSION=“2023”
ID=“amzn”
ID_LIKE=“fedora”
VERSION_ID=“2023”
PLATFORM_ID=“platform:al2023”
PRETTY_NAME=“Amazon Linux 2023.6.20250211”
ANSI_COLOR=“0;33”
CPE_NAME=“cpe:2.3:o:amazon:amazon_linux:2023”
HOME_URL=“Linux for the Cloud – Amazon Linux 2023 – Amazon Web Services”
DOCUMENTATION_URL=“https://docs.aws.amazon.com/linux/”
SUPPORT_URL=“AI-powered cloud support – AWS Support plans – AWS”
BUG_REPORT_URL=“GitHub - amazonlinux/amazon-linux-2023: Amazon Linux 2023”
VENDOR_NAME=“AWS”
VENDOR_URL=“https://aws.amazon.com/”
SUPPORT_END=“2029-06-30”
Amazon Linux release 2023.6.20250211 (Amazon Linux)
when I run ‘docker compose up -d’ at Ubuntu 22.04, the tyk container couldn’t be started. The error logs say ‘storage: Redis is either down or was not configured’. But the redis container is up and running.
Here are some of the logs:
time=“Feb 11 07:58:55” level=info msg=“Tyk API Gateway 5.5.0” prefix=main
time=“Feb 11 07:58:55” level=warning msg=“Insecure configuration allowed” config.allow_insecure_configs=true prefix=checkup
time=“Feb 11 07:58:55” level=error msg=“storage: Redis is either down or was not configured”
time=“Feb 11 07:58:55” level=error msg=“storage: Redis is either down or was not configured”
time=“Feb 11 07:58:55” level=error msg=“cannot set key in pollerCacheKey” error=“storage: Redis is either down or was not configured”
time=“Feb 11 07:58:55” level=info msg=“Starting Poller” prefix=host-check-mgr
time=“Feb 11 07:58:55” level=error msg=“storage: Redis is either down or was not configured”
time=“Feb 11 07:58:55” level=error msg=“Could not set version in versionStore” error=“storage: Redis is either down or was not configured” prefix=main
time=“Feb 11 07:58:55” level=info msg=“PIDFile location set to: /var/run/tyk/tyk-gateway.pid” prefix=main
time=“Feb 11 07:58:55” level=warning msg=“The control_api_port should be changed for production” prefix=main
time=“Feb 11 07:58:55” level=info msg=“Initialising Tyk REST API Endpoints” prefix=main
time=“Feb 11 07:58:55” level=info msg=“job run successful” name=purge-oauth-tokens prefix=scheduler
time=“Feb 11 07:58:55” level=error msg=“storage: Redis is either down or was not configured”
time=“Feb 11 07:58:55” level=error msg=“Connection to Redis failed, reconnect in 10s” error=“storage: Redis is either down or was not configured” prefix=pub-sub
When I run ‘docker compose up -d’ at Amazon Linux 2023, tyk container can be running properly. However, when I run ‘docker compose down -v’, and run again ‘docker compose up -d’, the tyk container also cannot be started. And it shows the same error logs saying “storage: Redis is either down or was not configured”.
Unfortunately, I didn’t have the screenshot of the tyk container was running during first deployment at Amazon Linux 2023.
I am not sure why the Tyk gateway v5.5.0 couldn’t be started properly at these 2 servers. Is there any step that I missed?
Regards,
Maan Tarng


