Dateien nach "/" hochladen

This commit is contained in:
2026-08-26 15:17:47 +02:00
parent ba7974d1cb
commit b5c894a389
5 changed files with 838 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
services:
syncer:
build:
# Kontext ist das Repo-Root (eine Ebene ueber dieser Datei), damit der
# Dockerfile-Pfad zur tatsaechlichen Verzeichnisstruktur passt.
dockerfile: docker/syncer/Dockerfile
image: rpm-mirror-syncer:latest
container_name: rpm-mirror-syncer
restart: unless-stopped
env_file:
- .env
volumes:
# Oeffentliche Repo-Daten, read-write. Der Syncer legt darin pkgs/ an.
- repo-data:/srv/repo
# Geklonte packages.yaml und Lockfile - ueberlebt ein Recreate.
- sync-cache:/var/cache/rpm-mirror-sync
# Lokale packages.yaml statt Git. Wenn gemountet, hat sie Vorrang und
# CONFIG_REPO_URL wird nicht mehr gebraucht.
#- ../packages.yaml:/config/packages.yaml:ro
nginx:
image: nginx:alpine
container_name: rpm-mirror-nginx
restart: unless-stopped
depends_on:
- syncer
ports:
- "${NGINX_PORT:-8080}:80"
volumes:
- repo-data:/usr/share/nginx/html/repo:ro
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
volumes:
repo-data:
sync-cache: