add molly brown user to tty
This commit is contained in:
parent
a07e28cea5
commit
5e3cb0df5c
@ -9,11 +9,12 @@ FROM thallian/confd-env:latest
|
|||||||
|
|
||||||
RUN addgroup -g 2222 molly-brown
|
RUN addgroup -g 2222 molly-brown
|
||||||
RUN adduser -h /home/molly-brown -S -D -u 2222 -G molly-brown 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 mkdir -p /var/gemini
|
||||||
RUN chown molly-brown:molly-brown /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 \
|
RUN apk --no-cache add \
|
||||||
openssl \
|
openssl \
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
[Molly Brown](https://tildegit.org/solderpunk/molly-brown) server for the
|
[Molly Brown](https://tildegit.org/solderpunk/molly-brown) server for the
|
||||||
[Gemini](https://gemini.circumlunar.space/) protocol.
|
[Gemini](https://gemini.circumlunar.space/) protocol.
|
||||||
|
|
||||||
|
Needs to run with a tty.
|
||||||
|
|
||||||
# Volumes
|
# Volumes
|
||||||
- `/var/gemini/`: root directory for files
|
- `/var/gemini/`: root directory for files
|
||||||
- `/etc/molly-brown/keys`: key files
|
- `/etc/molly-brown/keys`: key files
|
||||||
|
Loading…
Reference in New Issue
Block a user