Skip to content

Commit 5630939

Browse files
hyperpolymathclaude
andcommitted
chore: add Stapeln selur-compose.toml service definition
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b61f39d commit 5630939

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

selur-compose.toml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
#
4+
# Stapeln selur-compose.toml — Cloud Sync Tuner
5+
# Ada TUI + Rust daemons (overlay + tray), requires FUSE and D-Bus
6+
7+
[project]
8+
name = "cloud-sync-tuner"
9+
10+
[services.app]
11+
build = { context = ".", dockerfile = "Containerfile" }
12+
restart = "unless-stopped"
13+
networks = ["default"]
14+
15+
volumes = [
16+
"rclone-config:/home/sync/.config/rclone",
17+
"rclone-cache:/home/sync/.cache/rclone",
18+
"cloud-mount:/mnt/cloud",
19+
]
20+
21+
# Needs /dev/fuse access for FUSE overlay filesystem
22+
devices = ["/dev/fuse"]
23+
cap_add = ["SYS_ADMIN"]
24+
security_opt = ["apparmor:unconfined"]
25+
26+
healthcheck = { test = "cloud-sync-tuner --status || exit 1", interval = "30s", timeout = "5s", start_period = "10s", retries = 3 }
27+
28+
[services.app.labels]
29+
"org.opencontainers.image.title" = "Cloud Sync Tuner"
30+
31+
# --------------------------------------------------------------------------
32+
# Volumes (named volumes for persistence across restarts)
33+
# --------------------------------------------------------------------------
34+
[volumes.rclone-config]
35+
[volumes.rclone-cache]
36+
[volumes.cloud-mount]
37+
38+
[networks.default]
39+
driver = "bridge"

0 commit comments

Comments
 (0)