docker-ubuntumirror/docker-compose.yml

16 lines
391 B
YAML
Raw Normal View History

2016-04-09 13:22:33 +00:00
version: '2.0'
services:
mirror:
hostname: mirror
image: sneak/ubuntumirror
2016-04-11 01:38:47 +00:00
build: .
2016-04-09 13:22:33 +00:00
network_mode: bridge
volumes:
2016-04-09 17:23:37 +00:00
- "/mnt/scratch/mirror:/var/mirror"
2016-04-09 13:22:33 +00:00
ports:
- "172.17.0.1:80:80"
environment:
- UBUNTU_MIRROR_SOURCE=de.archive.ubuntu.com
2016-04-09 17:23:37 +00:00
- MIRROR_CATEGORIES=main,universe,restricted