- A multi-stage Dockerfile: Sonda has no CGO, so the binary is static and the final image (alpine, 69 MB) holds only it, the CA certificates and the time zones. - It runs as an ordinary user (uid 10001), keeps the database and the files it makes under /data (a volume), listens on 0.0.0.0:8080 inside the container, and does not start without SONDA_JWT_SECRET. - A health check on /api/v1/health that follows SONDA_LISTEN. - compose.yaml as an example: the secret comes from .env (which is not committed), the music is mounted read-only, and the port is published on this machine only. - .dockerignore keeps the web client, the databases and the agent files out of the build. - The README says how to build, run and back up, and how to use a host folder.
29 lines
300 B
Text
29 lines
300 B
Text
.git
|
|
.idea
|
|
.gitignore
|
|
bin
|
|
data
|
|
web
|
|
*.db
|
|
*.db-wal
|
|
*.db-shm
|
|
sonda.toml
|
|
*.test
|
|
*.out
|
|
Dockerfile
|
|
.dockerignore
|
|
compose.yaml
|
|
README.md
|
|
|
|
# AI agent instruction files: never part of the project's files
|
|
agent.md
|
|
Agent.md
|
|
AGENT.md
|
|
agents.md
|
|
Agents.md
|
|
AGENTS.md
|
|
claude.md
|
|
Claude.md
|
|
CLAUDE.md
|
|
GEMINI.md
|
|
.claude
|