1version: '3.3' 2services: 3 alist: 4 restart: always 5 volumes: 6 - '/etc/alist:/opt/alist/data' 7 ports: 8 - '5244:5244' 9 - '5245:5245' 10 environment: 11 - PUID=0 12 - PGID=0 13 - UMASK=022 14 - TZ=UTC 15 container_name: alist 16 image: 'xhofe/alist:latest' 17 18