cnf-q-service
Docker image for cnf-q-server, a fast queue service with a simple API for managing message queues.
3.2K
This repository contains a Docker image for cnf-q-server, a high-performance queue service written in Go. The service provides a simple API for managing message queues, allowing clients to push, pop, and peek messages efficiently.
docker pull cnfsoftware/cnf-q-server:latest
docker run -d -p 8080:8080 --name cnf-q-server cnfsoftware/cnf-q-server
POST /queue/{name}/push – Add a message to a queueGET /queue/{name}/pop – Retrieve and remove the first messageGET /queue/{name}/peek – View the last message without removing itGET /queues – List all available queuesYou can configure the service using the following environment variables:
| Variable | Description | Default Value |
|---|---|---|
| CNF_Q_PORT | Port on which the server runs | 8080 |
| CNF_Q_ACCESS_TOKEN | Access token for authentication (optional) | None |
| CNF_Q_TLS_CERT_FILE | Path to TLS certificate file (optional) | None |
| CNF_Q_TLS_KEY_FILE | Path to TLS private key file (optional) | None |
docker run -d -p 9090:9090 \
-e CNF_Q_PORT=9090 \
-e CNF_Q_ACCESS_TOKEN=supersecret \
-e CNF_Q_TLS_CERT_FILE=/certs/server.crt \
-e CNF_Q_TLS_KEY_FILE=/certs/server.key \
-v /path/to/certs:/certs:ro \
--name cnf-q-server cnfsoftware/cnf-q-server
curl -X POST http://localhost:8080/queue/myqueue/push -d "Hello, Queue!"
This project is actively maintained by CNF Software. Regular updates, security patches, and performance improvements are provided. If you encounter any issues or need support, please reach out via the official CNF Software channels.
For more details, visit the GitHub repository. 🚀
Content type
Image
Digest
sha256:ca46ae2d0…
Size
14.7 MB
Last updated
over 1 year ago
docker pull cnfsoftware/cnf-q-service:0.1.0