Eco Backend
  • Python 91.5%
  • Shell 7.4%
  • Dockerfile 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
epistemophiliac b31bee3ee5 Harden eco-backend for live Eco traffic on ecotest
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]>
2026-07-13 04:26:29 -04:00
app Harden eco-backend for live Eco traffic on ecotest 2026-07-13 04:26:29 -04:00
scripts Harden eco-backend for live Eco traffic on ecotest 2026-07-13 04:26:29 -04:00
.gitignore Add Coolify-ready Eco StrangeCloud backend for ecotest.aexoradao.com 2026-07-13 04:06:47 -04:00
docker-compose.yml Add Coolify-ready Eco StrangeCloud backend for ecotest.aexoradao.com 2026-07-13 04:06:47 -04:00
Dockerfile Add Coolify-ready Eco StrangeCloud backend for ecotest.aexoradao.com 2026-07-13 04:06:47 -04:00
README.md Harden eco-backend for live Eco traffic on ecotest 2026-07-13 04:26:29 -04:00
requirements.txt Add Coolify-ready Eco StrangeCloud backend for ecotest.aexoradao.com 2026-07-13 04:06:47 -04:00

Eco StrangeCloud Backend

Minimal StrangeCloud-shaped API for Eco hosting/login.

Deploy (Coolify)

  1. Create a Docker Compose resource from this repo.
  2. In Coolify UI, assign domain ecotest.aexoradao.com to service eco-backend, port 8000.
  3. Deploy. Coolify terminates TLS — no Caddy in this stack.
  4. 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