-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
61 lines (54 loc) · 2 KB
/
Copy pathcompose.yaml
File metadata and controls
61 lines (54 loc) · 2 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
name: sylve
x-daemonless:
title: "Sylve"
icon: ":simple-freebsd:"
category: "Infrastructure"
description: "Modern, open-source management platform for FreeBSD managing Virtual Machines (Bhyve), Jails, and ZFS storage."
upstream_url: "https://github.com/AlchemillaHQ/Sylve"
web_url: "https://sylve.io"
freshports_url: "https://www.freshports.org/sysutils/sylve/"
user: "root"
mlock: false
community: "Discord:https://discord.gg/Kb9tkhecZT"
docs:
manual: true
env:
SYLVE_HOSTNAME: "Hostname/FQDN you reach Sylve at (node-identity check)"
SYLVE_DATASET: "ZFS dataset delegated to Sylve (must match host-setup)"
SYLVE_DATA_LOCATION: "Host path where Sylve stores its data"
TZ: "Timezone for the container"
volumes:
/var/db/sylve: "Sylve database and runtime configuration"
ports:
8181: "Web Interface (HTTPS)"
services:
sylve:
image: ghcr.io/daemonless/sylve:nightly
container_name: sylve
hostname: ${SYLVE_HOSTNAME}
restart: always
network_mode: host
annotations:
org.freebsd.jail.name: "sylve"
org.freebsd.jail.devfs_ruleset: "10"
io.daemonless.sylve.autowire: "true"
io.daemonless.sylve.dataset: "${SYLVE_DATASET}"
org.freebsd.jail.allow.vmm: "true"
org.freebsd.jail.allow.mount: "true"
org.freebsd.jail.allow.mount.zfs: "true"
org.freebsd.jail.allow.mount.fdescfs: "true"
org.freebsd.jail.allow.nfsd: "true"
org.freebsd.jail.children.max: "100"
org.freebsd.jail.enforce_statfs: "1"
org.freebsd.jail.allow.raw_sockets: "true"
org.freebsd.jail.allow.chflags: "true"
org.freebsd.jail.allow.routing: "true"
org.freebsd.jail.allow.mount.linprocfs: "true"
org.freebsd.jail.allow.mount.linsysfs: "true"
org.freebsd.jail.allow.mount.tmpfs: "true"
org.freebsd.jail.allow.mount.devfs: "true"
org.freebsd.jail.allow.unprivileged_proc_debug: "true"
env_file:
- .env
volumes:
- ${SYLVE_DATA_LOCATION}:/var/db/sylve