latest
This commit is contained in:
parent
12aa409cad
commit
464ad422e5
4
Makefile
4
Makefile
|
@ -3,5 +3,5 @@ default: build
|
||||||
build:
|
build:
|
||||||
docker build -t sneak/ubuntumirror .
|
docker build -t sneak/ubuntumirror .
|
||||||
|
|
||||||
deploy:
|
up:
|
||||||
docker-compose --project-name local up mirror
|
docker-compose --project-name local up -d mirror
|
||||||
|
|
|
@ -6,8 +6,9 @@ services:
|
||||||
image: sneak/ubuntumirror
|
image: sneak/ubuntumirror
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/mirror:/var/mirror"
|
- "/mnt/scratch/mirror:/var/mirror"
|
||||||
ports:
|
ports:
|
||||||
- "172.17.0.1:80:80"
|
- "172.17.0.1:80:80"
|
||||||
environment:
|
environment:
|
||||||
- UBUNTU_MIRROR_SOURCE=de.archive.ubuntu.com
|
- UBUNTU_MIRROR_SOURCE=de.archive.ubuntu.com
|
||||||
|
- MIRROR_CATEGORIES=main,universe,restricted
|
||||||
|
|
Loading…
Reference in New Issue