Files
goyban 0060cd11bb Run from a published image; move source build to docker-compose.build.yaml
docker-compose.yaml now pulls git.goyban.com/goyban/whattodo so it can be used
without the source. publish.sh builds the committed version and pushes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 14:58:25 +02:00

24 lines
834 B
Bash

# Copy to .env and fill in. .env is git-ignored: never commit it.
# Password for logging in to the app.
APP_PASSWORD=change-me
# Long random string used to sign login cookies. Generate one with:
# head -c 32 /dev/urandom | base64
SECRET_KEY=change-me
# true when the app is served over HTTPS (production). Keep false for http://localhost.
COOKIE_SECURE=false
# How long a login lasts, in days.
SESSION_DAYS=30
# Port on the host, and which interface to listen on:
# 127.0.0.1 = only this computer, 0.0.0.0 = also other devices on your network (phone).
PORT=8080
BIND_ADDR=127.0.0.1
# Behind a reverse proxy, the IPs allowed to set X-Forwarded-For (for login rate limiting).
# FORWARDED_ALLOW_IPS=127.0.0.1
# Development only: build from source instead of pulling the published image.
# COMPOSE_FILE=docker-compose.build.yaml