Skip to content

Instantly share code, notes, and snippets.

@asoorm
Created January 24, 2018 09:18
Show Gist options
  • Save asoorm/b47b922c75f8114e1d18328e7ef49a65 to your computer and use it in GitHub Desktop.
Save asoorm/b47b922c75f8114e1d18328e7ef49a65 to your computer and use it in GitHub Desktop.
example starting tyk gateway with Docker
$ docker run -d --rm --name tyk_gateway -p 8080:8080 -v $(pwd)/tyk.bosch.json:/opt/tyk-gateway/tyk.conf tykio/tyk-gateway
681f095baec84bf2339a468fbe2e4879df636565e1678751b70dfb38eea749fb
$ docker logs --follow tyk_gatewaysed: cannot rename /opt/tyk-gateway/sedCinfWv: Device or resource busy
sed: cannot rename /opt/tyk-gateway/sed1oPpZy: Device or resource busy
time="Jan 24 09:10:19" level=info msg="Connection dropped, reconnecting..."
time="Jan 24 09:10:19" level=info msg="PIDFile location set to: /var/run/tyk-gateway.pid"
time="Jan 24 09:10:19" level=info msg="Initialising Tyk REST API Endpoints"
time="Jan 24 09:10:19" level=info msg="--> Standard listener (http)" port=":8080"
time="Jan 24 09:10:19" level=info msg="Setting up Server"
time="Jan 24 09:10:19" level=info msg="Initialising distributed rate limiter"
time="Jan 24 09:10:19" level=info msg="Starting gateway rate limiter notifications..."
time="Jan 24 09:10:19" level=info msg="Loading API Specification from /opt/tyk-gateway/apps/app_sample.json"
time="Jan 24 09:10:19" level=info msg="Detected 1 APIs"
time="Jan 24 09:10:19" level=info msg="Loading API configurations."
time="Jan 24 09:10:19" level=info msg="Tracking hostname" api_name="Tyk Test API" domain="(no host)"
time="Jan 24 09:10:19" level=info msg="Loading API" api_name="Tyk Test API"
time="Jan 24 09:10:19" level=warning msg="The Health Checker is deprecated and we do no longer recommend its use."
time="Jan 24 09:10:19" level=info msg="Checking security policy: Token" api_name="Tyk Test API"
time="Jan 24 09:10:19" level=info msg="Processed and listening on: /tyk-api-test/{rest:.*}"
time="Jan 24 09:10:19" level=info msg="Loading uptime tests..."
time="Jan 24 09:10:19" level=info msg="Initialised API Definitions"
time="Jan 24 09:10:19" level=info msg="Loading policies"
time="Jan 24 09:10:19" level=info msg="Policies found (1 total):"
time="Jan 24 09:10:19" level=info msg=" - default"
time="Jan 24 09:10:19" level=info msg="Gateway started (v2.4.3)"
time="Jan 24 09:10:19" level=info msg="--> Listening on address: (open interface)"
time="Jan 24 09:10:19" level=info msg="--> Listening on port: 8080"
time="Jan 24 09:10:19" level=info msg="--> PID: 7"
time="Jan 24 09:10:29" level=info msg="Starting Poller"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment