Deploy is now `podman compose up -d` from the root. Add .containerignore so node_modules, local data and .env stay out of the build context, and mount only .env (not the whole tree) when generating VAPID keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
24 lines
776 B
Text
24 lines
776 B
Text
# Copy to .env (repo root, next to compose.yaml) and `chmod 600 .env`.
|
|
# Never commit .env.
|
|
|
|
# Required: public hostname, with a DNS A/AAAA record pointing at this server.
|
|
DOMAIN=oweme.example.com
|
|
|
|
# Web Push. Generate the keys with:
|
|
# podman run --rm --user root -v ./.env:/out/.env:Z localhost/oweme:latest node server/gen-vapid.ts /out/.env
|
|
# (or, with Node 24 installed: node apps/server/src/gen-vapid.ts .env)
|
|
# Leave empty to disable notifications.
|
|
VAPID_SUBJECT=mailto:you@example.com
|
|
VAPID_PUBLIC_KEY=
|
|
VAPID_PRIVATE_KEY=
|
|
|
|
# Limits (bytes). Defaults shown.
|
|
MAX_PHOTO_BYTES=2097152
|
|
MAX_EVENT_BYTES=65536
|
|
MAX_GROUP_BYTES=209715200
|
|
GROUP_CREATE_PER_HOUR=10
|
|
|
|
# Where Caddy listens. Defaults: all interfaces, ports 80/443.
|
|
#BIND_ADDR=0.0.0.0
|
|
#HTTP_PORT=80
|
|
#HTTPS_PORT=443
|