@prologic@twtxt.net
Run the docker image and add:
–restart always -v /data:/data -v /theme:/theme
It works very well.
Questions:
How do I have an administrator user to configure the name of the POD?
From the web or from the command line ??
/ # yarnd
ERRO[0000] error validating config error=“error: cookie secret is not configured”
FATA[0000] error creating server error=“error validating config: error: cookie secret is not configured”
@andreottica@twtxt.net You must set a few configuration options (I do this via environment variables) like so:
services:
yarn:
image: prologic/yarnd:dev
command: yarnd -d /data -s bitcask:///data/yarn.db
environment:
- BASE_URL=https://twtxt.net
- OPEN_PROFILES=true
- OPEN_REGISTRATIONS=true
- ADMIN_USER=prologic
- API_SIGNING_KEY=xxx
- COOKIE_SECRET=xxx
- MAGICLINK_SECRET=xxx
volumes:
- yarn:/data
...
@andreottica@twtxt.net You’re welcome 🤗