-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselur-compose.toml
More file actions
40 lines (37 loc) · 1.34 KB
/
selur-compose.toml
File metadata and controls
40 lines (37 loc) · 1.34 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
# SPDX-License-Identifier: PMPL-1.0-or-later
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# Reposystem — Stapeln/Selur service definition.
#
# Railway yard for your repository ecosystem. Rust CLI tool that scans
# and analyses repository collections. Multi-stage build: Chainguard
# Rust builder + wolfi-base runtime with graphviz for visualisation.
#
# Usage:
# podman-compose -f selur-compose.toml up -d
# just stack-up
#
# Mount your repos directory at /data for scanning:
# podman-compose -f selur-compose.toml run app scan /data
[project]
name = "reposystem"
# =============================================================================
# Reposystem — Repository ecosystem scanner
# =============================================================================
[services.app]
build = { context = ".", dockerfile = "Containerfile" }
restart = "unless-stopped"
networks = ["default"]
environment = [
"REPOSYSTEM_DATA_DIR=/data",
"RUST_LOG=info",
]
volumes = [
"reposystem-data:/data",
]
healthcheck = { test = "reposystem --version || exit 1", interval = "30s", timeout = "10s", retries = 3 }
# =============================================================================
# Volumes
# =============================================================================
[volumes.reposystem-data]
driver = "local"