Docker Compose Deployment

The fastest way to get started with self-hosted Docka.

1. Download Configuration

# Download docker-compose files
curl -fsSL https://get.docka.dev/docker-compose.yml -o docker-compose.yml
curl -fsSL https://get.docka.dev/.env.example -o .env

# Generate secure secrets
JWT_SECRET=$(openssl rand -hex 32)
ENCRYPTION_KEY=$(openssl rand -hex 16)
DB_PASSWORD=$(openssl rand -hex 16)

# Update .env file
sed -i "s/^JWT_SECRET=.*/JWT_SECRET=$JWT_SECRET/" .env
sed -i "s/^ENCRYPTION_KEY=.*/ENCRYPTION_KEY=$ENCRYPTION_KEY/" .env
sed -i "s/^DB_PASSWORD=.*/DB_PASSWORD=$DB_PASSWORD/" .env

2. Start Services

# Start all services
docker compose up -d

# Check status
docker compose ps

# View logs
docker compose logs -f server

Your Docka instance will be available at http://localhost:73

3. Updating

docker compose pull
docker compose up -d