This commit is contained in:
sneak committed 2016-04-09 19:23:37 +02:00
1 parent 12aa409cad
commit 464ad422e5
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -3,5 +3,5 @@ default: build
build:
docker build -t sneak/ubuntumirror .
deploy:
docker-compose --project-name local up mirror
up:
docker-compose --project-name local up -d mirror
+2 -1
View File
@@ -6,8 +6,9 @@ services:
image: sneak/ubuntumirror
network_mode: bridge
volumes:
- "/var/mirror:/var/mirror"
- "/mnt/scratch/mirror:/var/mirror"
ports:
- "172.17.0.1:80:80"
environment:
- UBUNTU_MIRROR_SOURCE=de.archive.ubuntu.com
- MIRROR_CATEGORIES=main,universe,restricted