48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
version: "2.3"
|
|
|
|
services:
|
|
upload:
|
|
image: minio/minio:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./files:/data
|
|
command: server /data --quiet
|
|
environment:
|
|
- MINIO_ACCESS_KEY={{ minio_access_key }}
|
|
- MINIO_SECRET_KEY={{ minio_secret_key }}
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.upload.rule=Host(`upload.theorangeone.net`)
|
|
- traefik.http.routers.upload.tls.certresolver=le
|
|
|
|
img:
|
|
image: theorangeone/static-server:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./files/img:/srv:ro
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.img.rule=Host(`img.theorangeone.net`) || Host(`img.0rng.one`)
|
|
- traefik.http.routers.img.tls.certresolver=le
|
|
|
|
bg:
|
|
image: theorangeone/static-server:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./files/background:/srv:ro
|
|
environment:
|
|
- FANCY_INDEX=on
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.bg.rule=Host(`bg.theorangeone.net`)
|
|
- traefik.http.routers.bg.tls.certresolver=le
|
|
|
|
dl:
|
|
image: theorangeone/static-server:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./files/download:/srv:ro
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.dl.rule=Host(`dl.theorangeone.net`) || Host(`dl.0rng.one`)
|
|
- traefik.http.routers.dl.tls.certresolver=le
|