self-hosting/roles/arch-mirror-docker/files/arch-mirror/docker-compose.yml
2018-02-27 20:38:21 +01:00

21 lines
378 B
YAML

version: '2.2'
networks:
proxy-tier:
external:
name: nginx-proxy
services:
arch-mirror:
image: nginx:latest
expose:
- 80
environment:
- VIRTUAL_HOST=arch.banditlair.com
- VIRTUAL_NETWORK=nginx-proxy
- VIRTUAL_PORT=80
volumes:
- /srv/repo:/usr/share/nginx/html:ro
networks:
- proxy-tier
restart: always