Build and Test / Build and Test (push) Canceled after 1m24s
Fork of purnell569/MusicBot 0.7.1 (JMusicBot), kept here as a reliable copy with a container image built and served from this Gitea. - README retitled "$uicide Music Bot"; lineage table, Gitea image, Unraid and release instructions. Nothing under src/ changes. - Dockerfile: Maven stage on $BUILDPLATFORM (JAR is arch-neutral, so no QEMU for the build), OCI labels point at this repo and record commit and version via GIT_SHA/VERSION build args. - docker/entrypoint.sh: check the data dir is writable up front (the bot's own error for that is a misleading "another instance is running"), and on a missing config.txt run the bot's generate-config and stop with instructions instead of prompting on a console that does not exist. - deploy/unraid/musicbot.xml: Unraid template, --user 99:100 default. - .gitea/workflows/build-and-test.yml: mvn verify + docker build on push; its presence makes Gitea ignore the GitHub-only workflows in .github/. - scripts/build-and-publish-unraid.sh + docs/PUBLISHING.md: release runbook (keychain-safe registry push, release with zipped JAR). - docker-compose.example.yml points at the Gitea image. Upstream's v0.7.1 tag is preserved as upstream/v0.7.1; this repository's own release tag v0.7.1 is on this commit. Co-Authored-By: Claude Fable 5.1 <[email protected]>
18 lines
876 B
YAML
18 lines
876 B
YAML
services:
|
|
jmusicbot:
|
|
image: gitea.milesward.dev/mward4/musicbot:latest # or gitea.milesward.dev/mward4/musicbot:0.7.1 to pin a release
|
|
container_name: jmusicbot
|
|
# The container runs as non-root user 'jmusicbot' (UID 10001) for security.
|
|
# Ensure the mounted volume directory is readable/writable by UID 10001,
|
|
# or uncomment the user line below to run as your host user.
|
|
# user: "${UID:-10001}:${GID:-10001}"
|
|
environment:
|
|
# JVM options. Image defaults to ZGC + AlwaysPreTouch; set JAVA_OPTS for heap or other flags:
|
|
# - JAVA_OPTS=-Xms256m -Xmx512m -XX:+UseZGC -XX:+AlwaysPreTouch
|
|
{}
|
|
volumes:
|
|
# Mount your config directory. Ensure UID 10001 has read/write access:
|
|
# mkdir -p /your/path/to/musicbot && chown 10001:10001 /your/path/to/musicbot
|
|
- /your/path/to/musicbot:/musicbot
|
|
restart: unless-stopped
|