mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-03-15 06:40:00 +01:00
build
This commit is contained in:
@@ -8,7 +8,7 @@ services:
|
|||||||
user: root
|
user: root
|
||||||
volumes:
|
volumes:
|
||||||
- /share/docker_data/repo_mirror/data/rocky/9:/repos # mirror storage
|
- /share/docker_data/repo_mirror/data/rocky/9:/repos # mirror storage
|
||||||
- /share/docker_data/repo_mirror/data/rocky9.sh:/rocky9.sh
|
- /share/docker_data/repo_mirror/scripts/rocky9.sh:/rocky9.sh
|
||||||
command: /rocky9.sh
|
command: /rocky9.sh
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
|
||||||
@@ -19,10 +19,19 @@ services:
|
|||||||
user: root
|
user: root
|
||||||
volumes:
|
volumes:
|
||||||
- /share/docker_data/repo_mirror/data/debian:/mirror
|
- /share/docker_data/repo_mirror/data/debian:/mirror
|
||||||
- /share/docker_data/repo_mirror/data/debian13.sh:/debian13.sh
|
- /share/docker_data/repo_mirror/scripts/debian13.sh:/debian13.sh
|
||||||
command: /debian13.sh
|
command: /debian13.sh
|
||||||
restart: "no"
|
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
|
# Optional: Nginx to serve both mirrors
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.28
|
image: nginx:1.28
|
||||||
|
|||||||
Reference in New Issue
Block a user