From 464ad422e58143c63fcecc5b95021f92d221793d Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Sat, 9 Apr 2016 19:23:37 +0200 Subject: [PATCH] latest --- Makefile | 4 ++-- docker-compose.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 459fbd4..17c5a95 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 25990a6..d6040a8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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