Server Setup Guide
The ENC Server handles the secure storage and execution of your projects. It is deployed as a Docker container.
Prerequisites
Docker Engine: Install from docs.docker.com.
Docker Compose: usually included with Docker Desktop or modern Docker Engine.
Port 2222: Ensure port 2222 is open and free on your host machine.
Deployment
Navigate to the server directory:
cd enc-server
Run the deployment script:
./deploy.sh
Or manually using Docker Compose:
docker compose up -d --build
Verify Status:
docker psYou should see a container named
enc_ssh_serverrunning and listening on port 2222.
Configuration
The server configuration (volumes, ports) is managed via docker-compose.yml.
Storage: User data is persisted in the
enc_server_datavolume.SSH Host Keys: Server keys are persisted in
./ssh/host_keys/to prevent re-keying warnings on clients.