Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- # Cells image with two named volumes for the static and for the data
- cells:
- image: pydio/cells:latest
- restart: always
- volumes: ["static:/root/.config/pydio/cells/static/pydio", "data:/root/.config/pydio/cells/data"]
- ports:
- - "3030:8080"
- environment:
- - CELLS_BIND=localhost:3030
- - CELLS_EXTERNAL=localhost:3030
- - 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: P@ssw0rd
- MYSQL_DATABASE: cells
- MYSQL_USER: pydio
- MYSQL_PASSWORD: P@ssw0rd
- command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
- ports: ["3306:3306"]
- # PHP FPM image with the static named volume from the cells container
- php:
- image: pydio/cells-php-fpm:latest
- restart: always
- volumes: ["static:/root/.config/pydio/cells/static/pydio"]
- volumes:
- static: {}
- data: {}
- php: {}
Add Comment
Please, Sign In to add comment