self-hosting/roles/arch-mirror-docker/files/arch-mirror/docker-compose.yml
2018-04-25 17:22:33 +02:00

24 lines
478 B
YAML

version: '2.2'
networks:
web:
external:
name: web
services:
arch-mirror:
image: nginx:latest
expose:
- 80
labels:
- "traefik.backend=arch-mirror"
- "traefik.docker.network=web"
- "traefik.frontend.rule=Host:arch.banditlair.com"
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.default.protocol=http"
volumes:
- /srv/repo:/usr/share/nginx/html:ro
networks:
- web
restart: always