32 lines
701 B
YAML
32 lines
701 B
YAML
name: openlist
|
|
services:
|
|
openlist:
|
|
image: openlistteam/openlist:v4.2.6
|
|
container_name: openlist
|
|
volumes:
|
|
- /srv/data/openlist:/opt/openlist/data
|
|
- /srv/fast/qbittorrent:/opt/openlist/data/temp/qBittorrent
|
|
- /mnt/toshiba:/mnt/toshiba
|
|
- /srv/data/qbittorrent/downloads:/mnt/qbittorrent
|
|
environment:
|
|
UMASK: "022"
|
|
networks:
|
|
- proxy
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
user: 1000:1000
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1.0"
|
|
memory: 2G
|
|
reservations:
|
|
cpus: "0.2"
|
|
memory: 64M
|
|
networks:
|
|
proxy:
|
|
external: true
|