mirror of
https://github.com/orris-inc/orris.git
synced 2026-05-06 21:44:01 +08:00
c5dff3e26b85b67db2aa14c84af23e9739841b8b
Traffic reset was not taking effect because multiple enforcement paths ignored the subscription's currentPeriodStart when calculating usage: - ResolveTrafficPeriod now uses currentPeriodStart as a floor for calendar_month mode, so manual resets exclude pre-reset traffic - Node and forward enforcement services now query traffic within the resolved period instead of from time zero - NodeSubscriptionUsageReaderAdapter Redis query respects periodStart Also refactors node subscription generation and token validation into infrastructure layer, adds include_counts support for admin subscription list endpoint, and extracts shared nodeutil package.
…
…
…
…
…
…
…
…
Orris
Quick Install
curl -fsSL https://raw.githubusercontent.com/orris-inc/orris/main/install.sh | bash
Or specify domain and admin credentials:
curl -fsSL https://raw.githubusercontent.com/orris-inc/orris/main/install.sh | \
DOMAIN=orris.example.com \
ADMIN_EMAIL=admin@example.com \
ADMIN_PASSWORD=your-password \
bash
Detailed Installation
See INSTALL.md for detailed installation instructions.
Update
Update to the latest version:
# From your Orris installation directory
./install.sh update
# Or remotely
curl -fsSL https://raw.githubusercontent.com/orris-inc/orris/main/install.sh | bash -s -- update
This will:
- Pull the latest Docker images
- Run database migrations
- Restart all services
Common Commands
docker compose ps # Check status
docker compose logs -f # View logs
docker compose down # Stop services
docker compose up -d # Start services
./install.sh update # Update to latest version
./install.sh help # Show help
License
Languages
Go
99%
Shell
0.8%
Makefile
0.2%