-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvm.config.yml
More file actions
119 lines (94 loc) · 2.68 KB
/
Copy pathvm.config.yml
File metadata and controls
119 lines (94 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# GraphDone Multipass VM Configuration
# This file configures the Multipass VM for running GraphDone
# VM Name
# Leave empty or set to "graphdone-dev" to auto-generate a random fun name
# Format: graphdone-vm-{adjective}-{noun}-{4-digit-id}
# Example: graphdone-vm-happy-turtle-1234
# Or specify a custom name here:
name: ""
# VM Resources
resources:
# Number of CPU cores
cpus: 4
# Memory in GB (use suffix like 4G, 8G, etc.)
memory: 8G
# Disk size in GB (use suffix like 20G, 50G, etc.)
disk: 30G
# Base Ubuntu image
# Options: 22.04, 24.04, or specific release names
image: 24.04
# Tailscale Configuration
tailscale:
# Enable Tailscale integration
enabled: true
# Tailscale auth key (get from https://login.tailscale.com/admin/settings/keys)
# IMPORTANT: Use an ephemeral key for security
# You can also set this via environment variable: TAILSCALE_AUTH_KEY
auth_key: ""
# Additional Tailscale flags
# Example: "--advertise-routes=10.0.0.0/24 --accept-routes"
# Note: --ephemeral is not a flag for 'tailscale up', it's set on the auth key
flags: "--accept-routes --accept-dns=false --shields-up=false"
# Network Configuration
network:
# Whether to use a bridged network (provides external IP)
# If false, uses NAT (default)
bridged: false
# Bridge interface name (only used if bridged: true)
# Common values: eth0, en0, wlan0
bridge_interface: "eth0"
# Mount Configuration
mounts:
# Mount host directories into the VM
# Format: host_path:vm_path
# Example:
# - "~/graphdone-data:/home/ubuntu/data"
enabled: false
paths: []
# Startup Configuration
startup:
# Automatically start VM on host boot
auto_start: false
# Run GraphDone services on VM boot
run_on_boot: true
# Development Configuration
development:
# Expose GraphDone services to host
expose_services: true
# Port forwards (host_port:vm_port)
ports:
- "3127:3127" # Web UI
- "4127:4127" # GraphQL API
- "7474:7474" # Neo4j Browser
- "7687:7687" # Neo4j Bolt
# Install development tools in VM
dev_tools:
- git
- curl
- wget
- htop
- vim
# Docker Configuration
docker:
# Install Docker in the VM
enabled: true
# Install Docker Compose
compose: true
# Node.js Configuration
nodejs:
# Node.js version to install (18, 20, or latest)
version: "20"
# Install using nvm (recommended)
use_nvm: true
# GraphDone Configuration
graphdone:
# Git repository URL
repo_url: "https://github.com/GraphDone/GraphDone-Core.git"
# Git branch to clone
branch: "main"
# Clone destination in VM
clone_path: "/home/ubuntu/graphdone"
# Automatically run setup after clone
auto_setup: true
# Automatically seed database
auto_seed: true