version: '2.0' services: db: image: "docker.io/library/mariadb:${mariadb_release}" container_name: seafile-db environment: - MYSQL_LOG_CONSOLE=true env_file: - .env volumes: - seafile-db:/var/lib/mysql:Z networks: - seafile-net memcached: image: "docker.io/library/memcached:${memcached_release}" container_name: seafile-memcached command: memcached -m 256 networks: - seafile-net seafile: image: "${seafile_image}:${seafile_release}" container_name: seafile ports: - ${listen_if}:${listen_port}:80 volumes: - seafile-data:/shared:Z environment: - DB_HOST=db - TIME_ZONE=Europe/Paris - SEAFILE_SERVER_LETSENCRYPT=false env_file: - .env depends_on: - db - memcached networks: - seafile-net networks: seafile-net: