This simply wraps up quick-fedora-mirror in a nice loop in a container
| ENV | description | values | default |
|---|---|---|---|
MODULES |
the rsync modules to sync | ||
VERBOSE |
the verbosity level of the quick-fedora-mirror scripts | See here for possible values | |
HARDLINK_OPTIMIZE |
set this to enable quick-fedora-hardlink | ||
CHECKIN_SITE |
|||
CHECKIN_HOST |
|||
CHECKIN_PASS |
podman run --rm \
--tmpfs /run \
-e MODULES="fedora-buffet" \
-e VERBOSE=3 \
-e HARDLINK_OPTIMIZE=yes \
-v ./content:/srv/mirror/content:Z \
fedora-mirror version: "3"
services:
quick-fedora-mirror:
build: .
restart: always
environment:
- MODULES="fedora-buffet fedora-epel"
- VERBOSE=3
- HARDLINK_OPTIMIZE=yes
- CHECKIN_SITE=
- CHECKIN_HOST=
- CHECKIN_PASS=
volumes:
- <LOCAL CONTENT LOCATION>:/srv/mirror/content
- <LOCAL CONTENT LOCATION>:/srv/mirror/content:z #For SELinuxversion: "3"
services:
quick-fedora-mirror:
build: .
restart: always
environment:
- MODULES="fedora-buffet fedora-epel"
- VERBOSE=3
- HARDLINK_OPTIMIZE=yes
- CHECKIN_SITE=
- CHECKIN_HOST=
- CHECKIN_PASS=
volumes:
- content:/srv/mirror/content
volumes:
content:version: "3"
services:
quick-fedora-mirror:
build: .
restart: always
environment:
- MODULES="fedora-buffet fedora-epel"
- VERBOSE=3
- HARDLINK_OPTIMIZE=yes
- CHECKIN_SITE=
- CHECKIN_HOST=
- CHECKIN_PASS=
volumes:
- content:/srv/mirror/content
nginx:
image: nginx
ports:
- "8080:8080"
volumes:
- content:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf
- ./nginx.conf:/etc/nginx/nginx.conf:z #For SELinux
volumes:
content: