docker pull nodeenterprise521/ne-autopilot-engine:latest
docker run --env-file .env nodeenterprise521/ne-autopilot-engine
or if the env is not in the current run location
docker run -d \
-e PERSON_ID="your-person-id" \
-e NODE_ZERO_TOKEN="your-node-zero-token" \
-e SUPABASE_URL="your-supabase-url" \
-e SUPABASE_ANON_KEY="your-supabase-key" \
-v $(pwd)/data:/app/data \
-v $(pwd)/logs:/app/logs \
--name autopilot-engine \
nodeenterprise521/ne-autopilot-engine
docker run -it \
-v $(pwd)/data:/app/data \
nodeenterprise521/ne-autopilot-engine interactive
# Create environment file
cat > .env << EOF
PERSON_ID=your-person-id
NODE_ZERO_TOKEN=your-node-zero-token
SUPABASE_URL=your-supabase-url
SUPABASE_ANON_KEY=your-supabase-key
ENCRYPTION_KEY=your-encryption-key
EOF
# Run with environment file
docker run -d \
--env-file .env \
-v $(pwd)/data:/app/data \
-v $(pwd)/logs:/app/logs \
-p 5000:5000 \
--restart unless-stopped \
--name autopilot-engine \
nodeenterprise521/ne-autopilot-engine
# Interactive mode (manual input)
docker run -it nodeenterprise521/ne-autopilot-engine interactive
# Shell access for debugging
docker run -it nodeenterprise521/ne-autopilot-engine shell
# View help
docker run --rm nodeenterprise521/ne-autopilot-engine help
Create a docker-compose.yml file:
services:
autopilot-engine:
image: nodeenterprise521/ne-autopilot-engine:latest
environment:
- PERSON_ID=${PERSON_ID}
- NODE_ZERO_TOKEN=${NODE_ZERO_TOKEN}
- SUPABASE_URL=${SUPABASE_URL}
- SUPABASE_ANON_KEY=${SUPABASE_ANON_KEY}
- ENCRYPTION_KEY=${ENCRYPTION_KEY}
volumes:
- ./data:/app/data
- ./logs:/app/logs
ports:
- "5000:5000"
restart: unless-stopped
Then run:
# Create .env file with your values
echo "PERSON_ID=your-person-id" > .env
echo "NODE_ZERO_TOKEN=your-token" >> .env
echo "SUPABASE_URL=your-url" >> .env
echo "SUPABASE_ANON_KEY=your-key" >> .env
# Start the service
docker-compose up -d
| Variable | Required | Description |
|---|---|---|
PERSON_ID | Yes | Your unique person identifier |
NODE_ZERO_TOKEN | Recommended | Node Zero API token |
SUPABASE_URL | Optional | Supabase database URL |
SUPABASE_ANON_KEY | Optional | Supabase API key |
ENCRYPTION_KEY | Optional | Encryption key for secure data |
| Host Path | Container Path | Purpose |
|---|---|---|
./data | /app/data | Persistent application data |
./logs | /app/logs | Application logs |
| Command | Description |
|---|---|
start-engine (default) | Start the autopilot engine |
interactive | Run in interactive mode |
shell | Open bash shell for debugging |
help | Show usage information |
# View logs
docker logs autopilot-engine
# Follow logs in real-time
docker logs -f autopilot-engine
# Stop container
docker stop autopilot-engine
# Remove container
docker rm autopilot-engine
# Update to latest version
docker pull nodeenterprise521/ne-autopilot-engine:latest
docker stop autopilot-engine
docker rm autopilot-engine
# Run with same command as before
# On EC2 instance
sudo docker run -d \
-e PERSON_ID="prod-user-123" \
-e NODE_ZERO_TOKEN="your-token" \
-v /home/ec2-user/autopilot-data:/app/data \
-v /home/ec2-user/autopilot-logs:/app/logs \
--restart unless-stopped \
--name autopilot-engine \
nodeenterprise521/ne-autopilot-engine
# Deploy to Cloud Run
gcloud run deploy autopilot-engine \
--image nodeenterprise521/ne-autopilot-engine:latest \
--set-env-vars PERSON_ID=your-id,NODE_ZERO_TOKEN=your-token \
--platform managed \
--region us-central1
# Deploy to Azure
az container create \
--resource-group myResourceGroup \
--name autopilot-engine \
--image nodeenterprise521/ne-autopilot-engine:latest \
--environment-variables PERSON_ID=your-id NODE_ZERO_TOKEN=your-token \
--restart-policy Always
apiVersion: apps/v1
kind: Deployment
metadata:
name: autopilot-engine
spec:
replicas: 1
selector:
matchLabels:
app: autopilot-engine
template:
metadata:
labels:
app: autopilot-engine
spec:
containers:
- name: autopilot-engine
image: nodeenterprise521/ne-autopilot-engine:latest
env:
- name: PERSON_ID
value: "your-person-id"
- name: NODE_ZERO_TOKEN
valueFrom:
secretKeyRef:
name: autopilot-secrets
key: node-zero-token
volumeMounts:
- name: data-volume
mountPath: /app/data
- name: logs-volume
mountPath: /app/logs
volumes:
- name: data-volume
persistentVolumeClaim:
claimName: autopilot-data-pvc
- name: logs-volume
persistentVolumeClaim:
claimName: autopilot-logs-pvc
docker logs autopilot-engine to see error messagesdocker run -it nodeenterprise521/ne-autopilot-engine interactivemkdir -p data logschmod 755 data logs-it flags: docker run -it nodeenterprise521/ne-autopilot-engine interactivedocker run --rm nodeenterprise521/ne-autopilot-engine shell -c "env | grep PERSON_ID"--env-fileThis project is licensed under the terms specified in the LICENSE file.
Content type
Image
Digest
sha256:f2036ecf3…
Size
762.1 MB
Last updated
10 months ago
docker pull nodeenterprise521/ne-autopilot-engine