LightMirrors/docker-compose.yml
Anonymous b6a13cf1ff
Some checks failed
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Has been cancelled
move to subdir
2024-06-09 21:16:11 +08:00

34 lines
653 B
YAML

services:
lightmirrors:
image: lightmirrors/mirrors
build:
context: ./src
volumes:
- ./src/:/app
- ./data/cache:/app/cache
env_file:
- .env
networks:
- app
restart: unless-stopped
# for linux
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "80:80"
aria2:
image: lightmirrors/aria2
build: ./aria2
volumes:
- ./aria2/aria2.conf:/aria2.conf
- ./data/cache:/app/cache
- ./data/aria2:/data/
networks:
- app
env_file:
- .env
restart: unless-stopped
networks:
app:
name: lightmirrors_app
driver: bridge