Nick is now deterministically generated from the exit endpoint hostname via seeded markov chain. Same exit IP always produces the same nick. Config nick field is optional fallback only. Registration uses generic ident (user/ident) and realname (realname/unknown) instead of random markov words. Also fixes compose env vars and build target to use podman-compose. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
308 B
Docker
18 lines
308 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip install --no-cache-dir \
|
|
"python-socks[asyncio]>=2.4" \
|
|
"aiosqlite>=0.19"
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONPATH=/app/src
|
|
|
|
VOLUME /app/src
|
|
VOLUME /data
|
|
|
|
ENTRYPOINT ["python", "-m", "bouncer"]
|
|
CMD ["-c", "/data/bouncer.toml"]
|