forked from cybercinch/openaccounting-server
62dea0e53cc721372e38329ef369d0123309020c
- Create production-ready Dockerfile with multi-stage build - Add CGO support for SQLite driver compilation - Implement security best practices with non-root user - Add health checks with proper API version headers - Create .dockerignore for optimized build context - Support both SQLite and MySQL in containerized environment - Include volume mounting for data persistence 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Open Accounting Server
Prerequisites
- Go 1.8+
- MySQL 5.7+
Database setup
Use schema.sql and indexes.sql to create a MySQL database to store Open Accounting data.
Configuration
Copy config.json.sample to config.json and edit to match your information.
Run
go run core/server.go
Build
go build core/server.go
Docker
If you are interested in running Open Accounting via Docker, @alokmenghrajani has created a repo for this.
Help
Join our Slack chatroom and talk with us!