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