Add Docker deployment support with compose, entrypoint and docs
- Add Dockerfile (pre-built binary) and Dockerfile.source - Add docker-compose.yml, docker-compose.prod.yml, docker-compose.override.yml - Add docker-entrypoint.sh with non-root user support - Add .dockerignore and helper scripts (scripts/docker-build.sh, scripts/docker-run.sh) - Add docs/en/docker.md with full Docker guide - Update docs/en/deployment.md and README.md - Fix src/barabadb/core/config.nim to read BARADB_ADDRESS, BARADB_PORT, BARADB_DATA_DIR from env - Fix src/barabadb/core/httpserver.nim missing wire import
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
# Documentation
|
||||
docs/
|
||||
*.md
|
||||
!README.md
|
||||
|
||||
# CI/CD
|
||||
.github/
|
||||
.gitlab-ci.yml
|
||||
|
||||
# Build outputs (keep baradadb and backup for Dockerfile)
|
||||
build/*
|
||||
!build/baradadb
|
||||
!build/backup
|
||||
*.exe
|
||||
|
||||
# Data & logs
|
||||
data/
|
||||
wal/
|
||||
sstables/
|
||||
*.log
|
||||
|
||||
# IDE
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Docker самите файлове (не са нужни в контекста)
|
||||
Dockerfile*
|
||||
docker-compose*
|
||||
.dockerignore
|
||||
|
||||
# Scripts (ако са само за хост машината)
|
||||
scripts/docker-*.sh
|
||||
|
||||
# Tests (не са нужни за production build)
|
||||
tests/
|
||||
benchmarks/
|
||||
|
||||
# Examples
|
||||
examples/
|
||||
|
||||
# Backup файлове
|
||||
backup_*.tar.gz
|
||||
backup_history.log
|
||||
Reference in New Issue
Block a user