version: '2.0' services: db: image: mariadb:10.5 container_name: seafile-mysql environment: - MYSQL_ROOT_PASSWORD=RER63IZQ8hUTdeo # change me - MYSQL_LOG_CONSOLE=true volumes: - /opt/seafile-mysql/db:/var/lib/mysql networks: - seafile-net memcached: image: memcached:1.5.6 container_name: seafile-memcached entrypoint: memcached -m 256 networks: - seafile-net seafile: image: seafileltd/seafile-mc:latest container_name: seafile ports: - "3100:80" volumes: - /opt/seafile-data:/shared environment: - DB_HOST=db - DB_ROOT_PASSWD=RER63IZQ8hUTdeo # change me, same as MySQL root password - TIME_ZONE=Asia/Singapore - SEAFILE_ADMIN_EMAIL=myemail@example.com # change to preferred email address - SEAFILE_ADMIN_PASSWORD=myfancypassword # change to preferred admin password - SEAFILE_SERVER_LETSENCRYPT=false - SEAFILE_SERVER_HOSTNAME=cloud.pyuxiang.com # change to server address depends_on: - db - memcached networks: - seafile-net networks: seafile-net: