Getting Started
Installing Kaya
Install Kaya with the supplied Docker Compose deployment.
Before you begin
Confirm Docker and Compose work, choose a host with persistent storage, and decide whether Kaya will initially be reached directly or through a reverse proxy. The commands below use the current repository Compose file.
Install from the repository
-
Clone Kaya and enter the directory.
git clone https://github.com/antybubbs/kaya.git cd kaya -
Review
docker-compose.yml. ChangeKAYA_PORTorKAYA_SECURE_SEND_PORTin a local.envfile if the defaults conflict:KAYA_PORT=8080 KAYA_SECURE_SEND_PORT=8999 FORWARDED_ALLOW_IPS=127.0.0.1 -
Pull and start the services.
docker compose pull docker compose up -d -
Check the application health and container state.
docker compose ps docker compose logs --tail=100 kaya curl --fail http://127.0.0.1:8080/healthz -
Open
http://SERVER-IP:8080/setupand create the first administrator.
What the deployment creates
The Compose project runs Kaya, the restricted Secure Send gateway and guacd. It mounts ./data at /app/data and ./uploads at /app/uploads. On first start, the entrypoint creates data/.runtime.env with persistent session and encryption keys, runs SQLite migrations and starts Uvicorn.
The application container is read-only apart from mounted storage and /tmp, uses no-new-privileges, and receives NET_RAW for ping monitoring.
Reverse proxy installations
Set FORWARDED_ALLOW_IPS to only the IP or CIDR of the proxy that connects directly to Kaya. This differs from the Allowed Hosts list in Site Administration. See Reverse Proxies before exposing Kaya.
Continue with First Login.
