Files
docker-images/python-tools/compose.example.yaml
T
ajp_anton b9c886a5ea
Build custom container images / build (map[base_image:php:8-fpm-alpine build_args:PHP_VERSION=8 context:php8-pgsql fingerprint_command:{ apk info -v | LC_ALL=C sort; find /usr/local/lib/php/extensions /usr/local/etc/php/conf.d -type f -exec sha256sum {} + | LC_ALL=C sort; } name:ph… (push) Successful in 43s
Build custom container images / build (map[base_image:postgres:18 build_args:PG_VERSION=18 POSTGIS_VERSION=3 VCHORD_VERSION=0.5.3 context:postgres fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; find /usr/lib/postgresql -type f -exec sha256su… (push) Successful in 54s
Build custom container images / build (map[base_image:python:3 build_args:PYTHON_VERSION=3 context:python-tools fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; } name:python-tools oci_labels:org.opencontainers.ima… (push) Successful in 1m18s
Restore generic Python tools documentation and tests
2026-08-16 03:17:17 +00:00

20 lines
1016 B
YAML

services:
python-tools:
container_name: python-tools
image: git.ajpanton.se/ajp_anton/python-tools:3
user: "${PYTHON_TOOLS_UID:-1000}:${PYTHON_TOOLS_GID:-1000}"
ports:
- "${PYTHON_TOOLS_PORT:-8080}:8080"
environment:
SERVER_MAINTENANCE_ALLOWED_PROXY_IPS: "${SERVER_MAINTENANCE_ALLOWED_PROXY_IPS:?Set the reverse proxy's direct peer address}"
# Optional task settings. Only names listed here are forwarded to task
# processes; keep credentials in the mounted credentials directory.
# SERVER_MAINTENANCE_TASK_ENV: TASK_SETTING_A,TASK_SETTING_B
volumes:
- /etc/localtime:/etc/localtime:ro
- ${PYTHON_TOOLS_VOLUME_ROOT:?Set the persistent volume root}/state:/var/lib/server-maintenance
- ${PYTHON_TOOLS_VOLUME_ROOT:?Set the persistent volume root}/tasks:/opt/tasks:ro
- ${PYTHON_TOOLS_VOLUME_ROOT:?Set the persistent volume root}/credentials:/opt/credentials:ro
# Add task-specific bind mounts here when required.
restart: always