Eco Backend
- Python 91.5%
- Shell 7.4%
- Dockerfile 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Add UserAccount stubs (GrantAchievement et al.), Eco unknown-route fallbacks, quieter logging, 24h world tickets, and a cleaner ecotest binary patch. Co-authored-by: Cursor <[email protected]> |
||
| app | ||
| scripts | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
| requirements.txt | ||
Eco StrangeCloud Backend
Minimal StrangeCloud-shaped API for Eco hosting/login.
Deploy (Coolify)
- Create a Docker Compose resource from this repo.
- In Coolify UI, assign domain
ecotest.aexoradao.comto serviceeco-backend, port8000. - Deploy. Coolify terminates TLS — no Caddy in this stack.
- Health:
https://ecotest.aexoradao.com/health
Seeded accounts (stable UUIDs):
| User | Pass | UUID |
|---|---|---|
admin |
admin |
c408c3ef-387b-43b0-a79c-c3899e5bac10 |
ecoplayer |
password |
a1111111-1111-4111-8111-111111111111 |
Register: POST /Authentication/RegisterSLGUser with {"username","password"}.
Important: keep JWT_SECRET default unless you rotate and clear client SessionToken / EcoServer credentials. If you change the Coolify env default, update the value in the Coolify UI (Coolify does not pick up compose default changes automatically).
Point Eco at this host
Original cloud URL is 35 chars. Use the same-length replacement:
https://ecotest.aexoradao.com//////
./scripts/patch-eco-to-ecotest.sh "/path/to/Eco"
# cache clear is included in the patch script
v1.4 notes: UserAccount stubs (GrantAchievement, notifications, transactions), root / health, quieter logs, 24h world tickets, unknown-route Eco stubs.
Local run
DATA_DIR=./data uvicorn app.main:app --host 127.0.0.1 --port 8000