add molly brown user to tty

This commit is contained in:
Sebastian Hugentobler 2020-08-24 17:29:47 +02:00
parent a07e28cea5
commit 5e3cb0df5c
2 changed files with 4 additions and 1 deletions

View File

@ -9,11 +9,12 @@ FROM thallian/confd-env:latest
RUN addgroup -g 2222 molly-brown
RUN adduser -h /home/molly-brown -S -D -u 2222 -G molly-brown molly-brown
RUN useradd -G tty molly-brown
RUN mkdir -p /var/gemini
RUN chown molly-brown:molly-brown /var/gemini
RUN ln -sf /dev/tty /home/molly-brown/access.log
RUN ln -sf /dev/stdout /home/molly-brown/access.log
RUN apk --no-cache add \
openssl \

View File

@ -1,6 +1,8 @@
[Molly Brown](https://tildegit.org/solderpunk/molly-brown) server for the
[Gemini](https://gemini.circumlunar.space/) protocol.
Needs to run with a tty.
# Volumes
- `/var/gemini/`: root directory for files
- `/etc/molly-brown/keys`: key files