diff --git a/openlist/compose.yaml b/openlist/compose.yaml new file mode 100644 index 0000000..d333491 --- /dev/null +++ b/openlist/compose.yaml @@ -0,0 +1,22 @@ +name: openlist +services: + openlist: + image: openlistteam/openlist:v4.2.5 + container_name: openlist + volumes: + - /srv/data/openlist:/opt/openlist/data + - /mnt/toshiba:/mnt/toshiba + environment: + - UMASK=022 + ports: + - '0.0.0.0:5244:5244' + restart: unless-stopped + user: 0:0 + deploy: + resources: + limits: + cpus: "1.0" + memory: 2G + reservations: + cpus: "0.2" + memory: 64M