24 lines
975 B
YAML
24 lines
975 B
YAML
services:
|
|
scratchingpost:
|
|
build: .
|
|
image: scratchingpost:latest
|
|
container_name: scratchingpost
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
# Where the SQLite DB lives inside the container (matches the volume below).
|
|
- DataDirectory=/data
|
|
# Meow expiry is checked against this time zone (an IANA id, e.g. "Australia/Melbourne").
|
|
# Defaults to UTC — this matters because admins enter expiry times in their own
|
|
# browser's wall clock, so set this to match your actual location if you'd rather
|
|
# enter local times than UTC ones.
|
|
- TimeZone=UTC
|
|
# Admin login — override these for anything beyond local testing.
|
|
- Admin__Username=admin
|
|
- Admin__Password=ScratchingPost2026!
|
|
# - MaxUploadSizeMB=20
|
|
volumes:
|
|
- ./data:/data # noticeboard.db
|
|
- ./uploads:/app/wwwroot/uploads # TinyMCE / background images / uploaded ICS files
|