mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 21:57:00 +01:00
24 lines
478 B
YAML
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
|