Multi-stage build (node -> go -> alpine) producing the static tefterd binary with the frontend embedded. Compose follows the house style for the podman/SELinux server (:Z volume label + label:disable). deploy/ holds the user systemd unit and redeploy-tefter.sh, mirroring the apelacija setup. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
443 B
YAML
21 lines
443 B
YAML
services:
|
|
tefter:
|
|
build:
|
|
context: .
|
|
args:
|
|
VERSION: ${TEFTER_VERSION:-dev}
|
|
environment:
|
|
TEFTER_DB: /data/tefter.db
|
|
volumes:
|
|
# ":Z" relabels for SELinux (required on the podman/SELinux server; a
|
|
# harmless no-op on non-SELinux Docker hosts).
|
|
- data:/data:Z
|
|
security_opt:
|
|
- label:disable
|
|
ports:
|
|
- "${WEB_PORT:-8420}:8420"
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
data:
|