version: '3' services: # Cells image with two named volumes for the static and for the data cells: image: pydio/cells:latest restart: always volumes: - '/zstore/Docker-volumes/Pydio/config:/root/.config/pydio/cells/static/pydio' - '/zstore/Docker-volumes/Pydio/data:/root/.config/pydio/cells/data' - '/zstore/Docker-volumes/Pydio/logs:/root/.config/pydio/cells/logs' - '/zstore/Docker-volumes/Pydio/test:/test' ports: ["8282:8282"] environment: - CELLS_BIND=192.168.1.23:8282 - CELLS_EXTERNAL=192.168.1.23:8282 - CELLS_NO_SSL=1 # MySQL image with a default database cells and a dedicated user pydio mysql: image: mysql:5.7 restart: always environment: MYSQL_ROOT_PASSWORD: lachim23 MYSQL_DATABASE: cells MYSQL_USER: pydio MYSQL_PASSWORD: michal23 volumes: - '/zstore/Docker-volumes/Pydio/db:/var/lib/mysql' command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci] ports: ["3322:3306"]