26 lines
882 B
YAML
26 lines
882 B
YAML
# Copy to config.yml (gitignored) and adapt.
|
|
# Every value can also be given as an environment variable, e.g. APP__SERVER__PORT=3000
|
|
server:
|
|
address: 0.0.0.0
|
|
port: 3000
|
|
|
|
postgres:
|
|
host: localhost
|
|
port: 5432
|
|
user: postgres
|
|
password: postgres
|
|
name: app_template
|
|
|
|
vm:
|
|
# `libvirt` drives the real hypervisor through virsh, `mock` fakes everything
|
|
# in memory so the page can be developed without a server.
|
|
driver: libvirt
|
|
# Connection uri passed to `virsh --connect`.
|
|
# - in the container, with /var/run/libvirt bind-mounted: qemu:///system
|
|
# - from a development machine, over ssh: qemu+ssh://user@host:port/system
|
|
uri: qemu+ssh://user@192.168.0.104:2452/system
|
|
# How long a virsh call may take before it is given up on
|
|
timeout_seconds: 20
|
|
|
|
# Directory containing the built frontend (frontend/dist after `npm run build`)
|
|
frontend_dir: frontend/dist
|