Build in-place for a Portainer git stack
No registry exists yet and there is no SSH onto Nox, so Portainer clones this repo there and compose builds the image on the box. Adds build: . and moves the default host port to 8086, which is free on Nox (808x is crowded). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GVbG48GAXfCZatcmX123Ra
This commit is contained in:
parent
6a557bcdd9
commit
c0becae3ed
1 changed files with 6 additions and 3 deletions
|
|
@ -4,16 +4,19 @@
|
||||||
# A variable set in Portainer's UI but absent from this file silently does
|
# A variable set in Portainer's UI but absent from this file silently does
|
||||||
# nothing — the trap that bit PLAYERMAP_SHOW_GMS on the Mythica stack.
|
# nothing — the trap that bit PLAYERMAP_SHOW_GMS on the Mythica stack.
|
||||||
#
|
#
|
||||||
# The image is built off-box and pushed/loaded onto Nox (§11.2). Pin a real
|
# Deployed as a Portainer *git* stack: Portainer clones this repo onto Nox and
|
||||||
# version tag; never deploy bare :latest.
|
# `docker compose up` builds the image there, so no registry is needed. The
|
||||||
|
# image: tag still pins a real version so a redeploy replaces it predictably
|
||||||
|
# rather than reusing a stale :latest.
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mediashelf:
|
mediashelf:
|
||||||
image: ${MEDIASHELF_IMAGE:-mediashelf:0.1.0}
|
image: ${MEDIASHELF_IMAGE:-mediashelf:0.1.0}
|
||||||
|
build: .
|
||||||
container_name: mediashelf
|
container_name: mediashelf
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${MEDIASHELF_PORT:-8085}:8080"
|
- "${MEDIASHELF_PORT:-8086}:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- mediashelf_data:/data
|
- mediashelf_data:/data
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue