Compare commits

...

9 Commits

Author SHA1 Message Date
jaydee 23816cdd29 build 2026-02-23 01:13:52 +01:00
jaydee eaddb6c647 build 2026-02-23 00:38:51 +01:00
jaydee 003b63414d build 2026-02-23 00:38:20 +01:00
jaydee 5c89d98342 build 2026-02-23 00:37:18 +01:00
jaydee b5daa5ad7b build 2026-02-23 00:04:32 +01:00
jaydee 6bc174457c build 2026-02-22 23:56:52 +01:00
jaydee 5d2c868f10 build 2026-02-22 23:39:50 +01:00
jaydee 4f591ca9f2 build 2026-02-22 23:31:29 +01:00
jaydee c64b4952c8 build 2026-02-22 23:17:37 +01:00
+45
View File
@@ -0,0 +1,45 @@
version: "3.9"
services:
# Rocky Linux 9 mirror
rocky9-sync:
image: rockylinux:9
container_name: rocky9-sync
user: root
volumes:
- /share/docker_data/repo_mirror/data/rocky/9:/repos # mirror storage
- /share/docker_data/repo_mirror/scripts/rocky9.sh:/rocky9.sh
command: /rocky9.sh
restart: "no"
# Debian mirror
debian-sync:
image: ubuntu:24.04
container_name: debian-sync
user: root
volumes:
- /share/docker_data/repo_mirror/data/debian:/mirror
- /share/docker_data/repo_mirror/scripts/debian13.sh:/debian13.sh
command: /debian13.sh
restart: "no"
# Ubuntu mirror
ubuntu-sync:
image: ubuntu:24.04
container_name: ubuntu-sync
user: root
volumes:
- /share/docker_data/repo_mirror/data/ubuntu:/mirror
- /share/docker_data/repo_mirror/scripts/ubuntu.sh:/ubuntu.sh
command: /ubuntu.sh
restart: "no"
# Optional: Nginx to serve both mirrors
nginx:
image: nginx:1.28
container_name: mirror-nginx
ports:
- "8383:80"
volumes:
- /share/docker_data/repo_mirror/data/rocky:/usr/share/nginx/html/rocky
- /share/docker_data/repo_mirror/data/debian:/usr/share/nginx/html/debian
- /share/docker_data/repo_mirror/config/nginx.conf:/etc/nginx/nginx.conf:ro
restart: unless-stopped