# Copy to .env next to docker-compose.yml and fill in. Never commit .env. # # openssl rand -hex 32 BOARD_SECRET_KEY= # NOT USED ANY MORE. Members sign in on vienalatina.com against a password # stored here, so there is no OAuth application and nothing to configure. # Leaving these lines in your .env is harmless; the OAuth application itself # can be deleted in Gitea. #BOARD_OAUTH_CLIENT_ID= #BOARD_OAUTH_CLIENT_SECRET= # Gitea username of the first and only owner. Applied once, to an empty # database, and ignored afterwards. BOARD_OWNER=pablo # Optional, and by now almost certainly unnecessary. It could create accounts on # the git server for new members, back when a member needed one to sign in. They # do not: a password lives in this app's own database. Nothing in the members # area calls it any more. # # It CANNOT publish. Gitea's token scopes are per category and `admin` does not # contain `repository`, so a site-admin token gets a 403 from the contents API — # leaving this filled in and CONTENT_TOKEN empty is how the editor ends up unable # to commit a single post while looking configured. # # Fill in CONTENT_TOKEN below, then revoke this one: it can create and modify # every account on the instance, and anything that can read this file can use it. GITEA_ADMIN_TOKEN= # What the content editor commits with. Members sign in here, on # vienalatina.com, and have no account on the git server at all — so this is # the only credential that touches it, and it only needs `write:repository` on # the site repository. Left empty it falls back to GITEA_ADMIN_TOKEN, which # works but grants far more than publishing a post requires. CONTENT_TOKEN= # Outgoing mail, for invitations and password resets. Without it an admin can # still add members, but nobody can be invited and nobody can recover a # password — which is the whole reason members could not get in before. # # These are the SMTP details of the hola@vienalatina.com mailbox. Port 465 means # MAIL_SECURITY=ssl; port 587 means starttls. Using the wrong one of the pair is # the usual reason a mailbox that works in a mail client fails here. MAIL_HOST= MAIL_PORT=587 MAIL_SECURITY=starttls MAIL_USER=hola@vienalatina.com MAIL_PASSWORD= MAIL_FROM=Viena Latina