Skip to content

Commit df5a633

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 851d59b commit df5a633

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

selur-compose.toml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
# proof-of-work — Stapeln/Selur service definition.
5+
#
6+
# Puzzle game with cryptographic verification built on Bevy.
7+
# Multi-stage build: Rust nightly builder (Bevy 0.18) + wolfi-base runtime.
8+
# Runs in headless mode by default (server/test builds without display).
9+
#
10+
# Build features:
11+
# headless (default) — No display, for server/CI
12+
# z3-verify — With Z3 verification + Steam + network
13+
#
14+
# Usage:
15+
# podman-compose -f selur-compose.toml up -d
16+
# just stack-up
17+
18+
[project]
19+
name = "proof-of-work"
20+
21+
# =============================================================================
22+
# Proof-of-Work — Bevy game (headless mode)
23+
# =============================================================================
24+
[services.app]
25+
build = { context = ".", dockerfile = "Containerfile" }
26+
restart = "unless-stopped"
27+
networks = ["default"]
28+
environment = [
29+
"BEVY_HEADLESS=1",
30+
"RUST_LOG=info",
31+
]
32+
healthcheck = { test = "./proof-of-work --version || exit 1", interval = "30s", timeout = "5s", retries = 3 }

0 commit comments

Comments
 (0)