Skip to main content

Docker quickstart (Commercial)

Run the Commercial edition with PostgreSQL and Redis using Docker Compose.

Start the stack

docker compose -f docker-compose.commercial.yaml up -d

This starts Talos, PostgreSQL, and Redis. Migrations run automatically.

Issue a key

# Note: rate_limit_policy is only available via the HTTP API.
RESPONSE=$(talos keys issue "commercial-test" \
--actor user_1 \
--scopes "read,write" \
--ttl 168h \
--format json \
-e "$TALOS_URL" 2>/dev/null)

echo "$RESPONSE" | jq .

export API_SECRET=$(echo "$RESPONSE" | jq -er '.secret')

Verify with caching

The first request hits the database; subsequent requests within the cache TTL are served from Redis:

talos keys verify "$API_SECRET" -e "$TALOS_URL"

Stop the stack

docker compose -f docker-compose.commercial.yaml down

To remove all data volumes:

docker compose -f docker-compose.commercial.yaml down -v

Prerequisites

You need Docker and Docker Compose installed. See the OSS quickstart to try the free edition first.

Next steps