scout-website: greenlanescouts73.org initial deploy (from scoutpoc redesign)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# scout-website — greenlanescouts73.org (Pack & Troop 73)
|
||||
#
|
||||
# Deployed as a Portainer Repository stack pointed at this repo
|
||||
# (ops/portainer-stacks/00-the-rule.md in claude-workspace applies):
|
||||
# - no relative bind mounts: `.` resolves to Portainer's clone, not /srv
|
||||
# - no env_file: NTFY_URL comes from the Portainer stack env
|
||||
# Images live OUTSIDE the repo at /srv/scout-website-assets/img (bind-mounted
|
||||
# read-only) so photos never bloat clones.
|
||||
# The live, hand-editable calendar is /srv/scout-website/data/events.json
|
||||
# (seeded from app/events.json on first boot; see README).
|
||||
|
||||
name: scout-website
|
||||
services:
|
||||
scout-website:
|
||||
build:
|
||||
context: ./app
|
||||
container_name: scout-website
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8131:8000"
|
||||
environment:
|
||||
- NTFY_URL=${NTFY_URL}
|
||||
volumes:
|
||||
- /srv/scout-website/data:/data
|
||||
- /srv/scout-website-assets/img:/app/static/img:ro
|
||||
networks:
|
||||
- default
|
||||
- npm
|
||||
networks:
|
||||
npm:
|
||||
external: true
|
||||
name: arrstack_arr_net
|
||||
Reference in New Issue
Block a user