Quick start
Configuration
Environment variables
Create a.env.local file in the project root with your API keys:
.env.local for secrets.
Connecting to host services
When running in Docker, usehost.docker.internal to reach services on the host machine:
On Linux,
host.docker.internal may not work out of the box. Use --network=host or add extra_hosts: ["host.docker.internal:host-gateway"] to your compose file.GPU acceleration
For GPU-accelerated speech processing (STT/TTS), use the GPU override:- NVIDIA GPU with CUDA support
- NVIDIA Container Toolkit installed
Redis only
If you’re running agtOS via the CLI or desktop app but want Redis for memory and scheduling:Resource limits
The default Docker Compose configuration sets resource limits:
Adjust these in
docker-compose.yml under deploy.resources.limits based on your hardware.
Volumes
Named volumes persist data across container restarts:Health checks
The agtOS container includes a built-in health check:Production tips
- Set
NODE_ENV=productionfor structured JSON logging and credential salt enforcement - Set
AGTOS_API_KEYto protect API endpoints - Set
AGTOS_CREDENTIAL_SALTfor persistent encrypted credential storage - Use
restart: unless-stopped(already configured) for automatic recovery - Mount
.env.localasenv_filefor secrets management - Use a reverse proxy (nginx, Caddy) for TLS termination if exposing externally