EquiCloud is a Rust-based version of vencloud using ScyllaDB
Docker Installation
- Docker: https://docs.docker.com/engine/install
- Docker Compose: https://docs.docker.com/compose/install
Native Installation
- Rust: https://www.rust-lang.org/tools/install
- ScyllaDB: 5.4+ or 2025.3.1+ (recommended)
- Go to Discord Developer Portal
- Create a new application
- Navigate to OAuth2 settings
- Add redirect URI:
{SERVER_FQDN}/v1/oauth/callback - Copy Client ID and Secret to your
.env:
DISCORD_CLIENT_ID=your_client_id_here
DISCORD_CLIENT_SECRET=your_client_secret_here-
Download required files:
mkdir equicloud && cd equicloud wget https://raw.githubusercontent.com/Equicord/Equicloud/main/compose.yml wget https://raw.githubusercontent.com/Equicord/Equicloud/main/.env.example
-
Configure environment:
cp .env.example .env
-
Start the services:
docker compose up -d
The API will be available at http://{SERVER_HOST}:{SERVER_PORT} (default: http://0.0.0.0:9000).
git clone https://github.com/Equicord/Equicloud.git
cd Equiclouddocker run --name scylla -p 9042:9042 -d scylladb/scylla:5.4cp .env.example .envcargo run
# Or build for production
cargo build --release
./target/release/equicloudmap $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
listen 80;
server_name cloud.example.com;
return 301 https://$host$request_uri;
}
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
server_name cloud.example.com;
client_max_body_size 60M;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-CHACHA20-POLY1305;
ssl_prefer_server_ciphers off;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Frame-Options DENY always;
add_header X-Content-Type-Options nosniff always;
add_header Referrer-Policy strict-origin-when-cross-origin always;
ssl_certificate cloud.example.com/fullchain.cer;
ssl_certificate_key cloud.example.com/private.key;
location / {
proxy_pass http://127.0.0.1:9000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Port 443;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_connect_timeout 30s;
proxy_send_timeout 30s;
proxy_read_timeout 30s;
}
}This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.