* simplify back to single config.env! - back to good ole env vars! - remove shared secret, which made it difficult to have scheduled crawls, since secrets are immutable, so could not update config if a scheduled crawl existed :/ - all env vars unified in configs/config.env - run-swarm.sh and run-pod.sh 'source' this config - remove config.sample.yaml - customize minio volume dir via config.env - customize redis port via config.env - include authsign ports in debug-ports config
22 lines
427 B
Docker
22 lines
427 B
Docker
ARG PODMAN_VERSION=4
|
|
|
|
FROM docker.io/mgoltzsche/podman:${PODMAN_VERSION}-remote as podmanremote
|
|
|
|
FROM python:3.9
|
|
|
|
WORKDIR /app
|
|
|
|
ADD requirements.txt /app
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
RUN python-on-whales download-cli
|
|
|
|
ADD btrixcloud/ /app/btrixcloud/
|
|
|
|
COPY --from=podmanremote /usr/local/bin/podman-remote /usr/bin/podman
|
|
|
|
CMD uvicorn btrixcloud.main:app_root --host 0.0.0.0 --access-log --log-level info
|
|
|
|
EXPOSE 8000
|