This commit is contained in:
Jeffrey Paul 2016-04-09 19:23:37 +02:00
parent 12aa409cad
commit 464ad422e5
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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