Add Dalidou storage foundation and deployment prep

This commit is contained in:
2026-04-05 18:33:52 -04:00
parent b0889b3925
commit 6bfa1fcc37
19 changed files with 679 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
ATOCORE_ENV=production
ATOCORE_DEBUG=false
ATOCORE_LOG_LEVEL=INFO
ATOCORE_HOST=0.0.0.0
ATOCORE_PORT=8100
ATOCORE_DATA_DIR=/srv/storage/atocore/data
ATOCORE_DB_DIR=/srv/storage/atocore/data/db
ATOCORE_CHROMA_DIR=/srv/storage/atocore/data/chroma
ATOCORE_CACHE_DIR=/srv/storage/atocore/data/cache
ATOCORE_TMP_DIR=/srv/storage/atocore/data/tmp
ATOCORE_LOG_DIR=/srv/storage/atocore/logs
ATOCORE_BACKUP_DIR=/srv/storage/atocore/backups
ATOCORE_RUN_DIR=/srv/storage/atocore/run
ATOCORE_VAULT_SOURCE_DIR=/srv/storage/atocore/sources/vault
ATOCORE_DRIVE_SOURCE_DIR=/srv/storage/atocore/sources/drive
ATOCORE_SOURCE_VAULT_ENABLED=true
ATOCORE_SOURCE_DRIVE_ENABLED=true

View File

@@ -0,0 +1,27 @@
services:
atocore:
build:
context: ../../
dockerfile: Dockerfile
container_name: atocore
restart: unless-stopped
ports:
- "${ATOCORE_PORT:-8100}:8100"
env_file:
- .env
volumes:
- ${ATOCORE_DB_DIR}:${ATOCORE_DB_DIR}
- ${ATOCORE_CHROMA_DIR}:${ATOCORE_CHROMA_DIR}
- ${ATOCORE_CACHE_DIR}:${ATOCORE_CACHE_DIR}
- ${ATOCORE_TMP_DIR}:${ATOCORE_TMP_DIR}
- ${ATOCORE_LOG_DIR}:${ATOCORE_LOG_DIR}
- ${ATOCORE_BACKUP_DIR}:${ATOCORE_BACKUP_DIR}
- ${ATOCORE_RUN_DIR}:${ATOCORE_RUN_DIR}
- ${ATOCORE_VAULT_SOURCE_DIR}:${ATOCORE_VAULT_SOURCE_DIR}:ro
- ${ATOCORE_DRIVE_SOURCE_DIR}:${ATOCORE_DRIVE_SOURCE_DIR}:ro
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8100/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 20s