Skip to content

Commit fe663f1

Browse files
authored
Merge pull request #33 from GraphDone/vm_multi-pass
Add Multipass VM support with Tailscale integration and comprehensive testing infrastructure
2 parents 02573eb + 0695fb7 commit fe663f1

27 files changed

Lines changed: 4856 additions & 18 deletions

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,10 @@ VITE_WS_URL=ws://localhost:4127
4040

4141
# HTTPS Development URLs (when SSL_ENABLED=true)
4242
# VITE_GRAPHQL_URL=https://localhost:4128/graphql
43-
# VITE_GRAPHQL_WS_URL=wss://localhost:4128/graphql
43+
# VITE_GRAPHQL_WS_URL=wss://localhost:4128/graphql
44+
45+
# Tailscale Configuration (for VM mesh networking)
46+
# Get your auth key from: https://login.tailscale.com/admin/settings/keys
47+
# IMPORTANT: Use an ephemeral key for security
48+
# Example: tskey-auth-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
49+
TAILSCALE_AUTH_KEY=

.env.vm.example

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# GraphDone VM Environment Variables
2+
# Copy this file to .env.vm and fill in your values
3+
# These variables can be used to configure VM launches
4+
5+
# Tailscale Configuration
6+
# Get your auth key from: https://login.tailscale.com/admin/settings/keys
7+
# IMPORTANT: Use ephemeral keys for security
8+
TAILSCALE_AUTH_KEY=
9+
10+
# VM Resource Overrides
11+
# These override values in vm.config.yml
12+
# VM_CPUS=4
13+
# VM_MEMORY=8G
14+
# VM_DISK=30G
15+
16+
# Git Configuration
17+
# VM_BRANCH=main
18+
# VM_REPO_URL=https://github.com/GraphDone/GraphDone-Core.git
19+
20+
# VM Name Override
21+
# VM_NAME=graphdone-dev
22+
23+
# Docker Registry (for private images)
24+
# DOCKER_REGISTRY_URL=
25+
# DOCKER_REGISTRY_USER=
26+
# DOCKER_REGISTRY_PASSWORD=
27+
28+
# Neo4j Configuration (if different from defaults)
29+
# NEO4J_PASSWORD=graphdone_password
30+
# NEO4J_USER=neo4j
31+
32+
# Development Settings
33+
# NODE_ENV=development
34+
# DEBUG=graphdone:*
35+
36+
# Network Configuration
37+
# VM_BRIDGE_INTERFACE=eth0
38+
# VM_USE_BRIDGE=false
39+
40+
# Startup Configuration
41+
# VM_AUTO_SETUP=true
42+
# VM_AUTO_SEED=true
43+
# VM_RUN_ON_BOOT=true
44+
45+
# Additional Mounts (comma-separated host:vm pairs)
46+
# VM_MOUNTS=~/data:/home/ubuntu/data,~/projects:/home/ubuntu/projects
47+
48+
# Cloud Provider Settings (for cloud VMs)
49+
# CLOUD_PROVIDER=aws
50+
# CLOUD_REGION=us-west-2
51+
# CLOUD_INSTANCE_TYPE=t3.xlarge

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ coverage/
1010
test-results/
1111
test-artifacts/
1212
playwright-report/
13+
test-reports/
1314
artifacts/
1415

1516
# Test files that should not be in root
@@ -74,6 +75,13 @@ lerna-debug.log*
7475
.env.development.local
7576
.env.test.local
7677
.env.production.local
78+
.env.vm
79+
80+
# VM configuration
81+
/tmp/graphdone-cloud-init.yml
82+
cloud-init.*.yml
83+
!cloud-init.template.yml
84+
.graphdone-cloud-init.yml
7785

7886
# IDE
7987
.vscode/*

0 commit comments

Comments
 (0)