# Single binary — download and run
mkdir -p data
ZINC_FIRST_ADMIN_USER=admin ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 \ zinc server --data ./data # Or Docker
-weight: 500;">docker run -d -p 4080:4080 \ -e ZINC_FIRST_ADMIN_USER=admin \ -e ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 \ public.ecr.aws/zinclabs/zinc:latest
# Single binary — download and run
mkdir -p data
ZINC_FIRST_ADMIN_USER=admin ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 \ zinc server --data ./data # Or Docker
-weight: 500;">docker run -d -p 4080:4080 \ -e ZINC_FIRST_ADMIN_USER=admin \ -e ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 \ public.ecr.aws/zinclabs/zinc:latest
# Single binary — download and run
mkdir -p data
ZINC_FIRST_ADMIN_USER=admin ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 \ zinc server --data ./data # Or Docker
-weight: 500;">docker run -d -p 4080:4080 \ -e ZINC_FIRST_ADMIN_USER=admin \ -e ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 \ public.ecr.aws/zinclabs/zinc:latest
-weight: 500;">curl -u admin:Complexpass#123 \ -X POST http://localhost:4080/api/default/articles/_json \ -d '[ { "title": "Getting Started with Go", "body": "Go is a statically typed language designed at Google...", "tags": ["go", "tutorial"], "published": "2026-03-15" }, { "title": "Building REST APIs in Go", "body": "Learn how to build production-ready REST APIs using Go...", "tags": ["go", "api", "rest"], "published": "2026-03-20" } ]'
-weight: 500;">curl -u admin:Complexpass#123 \ -X POST http://localhost:4080/api/default/articles/_json \ -d '[ { "title": "Getting Started with Go", "body": "Go is a statically typed language designed at Google...", "tags": ["go", "tutorial"], "published": "2026-03-15" }, { "title": "Building REST APIs in Go", "body": "Learn how to build production-ready REST APIs using Go...", "tags": ["go", "api", "rest"], "published": "2026-03-20" } ]'
-weight: 500;">curl -u admin:Complexpass#123 \ -X POST http://localhost:4080/api/default/articles/_json \ -d '[ { "title": "Getting Started with Go", "body": "Go is a statically typed language designed at Google...", "tags": ["go", "tutorial"], "published": "2026-03-15" }, { "title": "Building REST APIs in Go", "body": "Learn how to build production-ready REST APIs using Go...", "tags": ["go", "api", "rest"], "published": "2026-03-20" } ]'
-weight: 500;">curl -u admin:Complexpass#123 \ http://localhost:4080/es/articles/_search -d '{ "query": { "match": { "title": "REST API" } }, "highlight": { "fields": { "title": {} } }
}'
-weight: 500;">curl -u admin:Complexpass#123 \ http://localhost:4080/es/articles/_search -d '{ "query": { "match": { "title": "REST API" } }, "highlight": { "fields": { "title": {} } }
}'
-weight: 500;">curl -u admin:Complexpass#123 \ http://localhost:4080/es/articles/_search -d '{ "query": { "match": { "title": "REST API" } }, "highlight": { "fields": { "title": {} } }
}'
# Ship logs with Fluent Bit (Elasticsearch output works directly)
[OUTPUT] Name es Host localhost Port 4080 Index app-logs HTTP_User admin HTTP_Passwd Complexpass#123
# Ship logs with Fluent Bit (Elasticsearch output works directly)
[OUTPUT] Name es Host localhost Port 4080 Index app-logs HTTP_User admin HTTP_Passwd Complexpass#123
# Ship logs with Fluent Bit (Elasticsearch output works directly)
[OUTPUT] Name es Host localhost Port 4080 Index app-logs HTTP_User admin HTTP_Passwd Complexpass#123
-weight: 500;">curl -u admin:Complexpass#123 \ http://localhost:4080/es/products/_search -d '{ "query": { "bool": { "must": { "match": { "name": "wireless headphones" } }, "filter": { "range": { "price": { "lte": 100 } } } } }, "sort": [{ "rating": "desc" }], "size": 10
}'
-weight: 500;">curl -u admin:Complexpass#123 \ http://localhost:4080/es/products/_search -d '{ "query": { "bool": { "must": { "match": { "name": "wireless headphones" } }, "filter": { "range": { "price": { "lte": 100 } } } } }, "sort": [{ "rating": "desc" }], "size": 10
}'
-weight: 500;">curl -u admin:Complexpass#123 \ http://localhost:4080/es/products/_search -d '{ "query": { "bool": { "must": { "match": { "name": "wireless headphones" } }, "filter": { "range": { "price": { "lte": 100 } } } } }, "sort": [{ "rating": "desc" }], "size": 10
}'
// Index your docs on build
const docs = glob.sync('docs/**/*.md').map(file => ({ path: file, title: extractTitle(file), content: fs.readFileSync(file, 'utf8'), section: file.split('/')[1]
})); await fetch('http://localhost:4080/api/default/docs/_json', { method: 'POST', headers: { 'Authorization': 'Basic ' + btoa('admin:Complexpass#123'), 'Content-Type': 'application/json' }, body: JSON.stringify(docs)
});
// Index your docs on build
const docs = glob.sync('docs/**/*.md').map(file => ({ path: file, title: extractTitle(file), content: fs.readFileSync(file, 'utf8'), section: file.split('/')[1]
})); await fetch('http://localhost:4080/api/default/docs/_json', { method: 'POST', headers: { 'Authorization': 'Basic ' + btoa('admin:Complexpass#123'), 'Content-Type': 'application/json' }, body: JSON.stringify(docs)
});
// Index your docs on build
const docs = glob.sync('docs/**/*.md').map(file => ({ path: file, title: extractTitle(file), content: fs.readFileSync(file, 'utf8'), section: file.split('/')[1]
})); await fetch('http://localhost:4080/api/default/docs/_json', { method: 'POST', headers: { 'Authorization': 'Basic ' + btoa('admin:Complexpass#123'), 'Content-Type': 'application/json' }, body: JSON.stringify(docs)
});