Advertisement
Guest User

Pydio docker-compose.yml example

a guest
Jan 5th, 2021
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.92 KB | None | 0 0
  1. version: '3'
  2. services:
  3.     # Cells image with two named volumes for the static and for the data
  4.     cells:
  5.         image: pydio/cells:latest
  6.         restart: always
  7.         volumes: ["static:/root/.config/pydio/cells/static/pydio", "data:/root/.config/pydio/cells/data"]
  8.         ports: ["8080:8080"]
  9.         environment:
  10.            - CELLS_BIND=localhost:8080
  11.             - CELLS_EXTERNAL=pydio.example.com
  12.             - CELLS_NO_SSL=0
  13.  
  14.     # MySQL image with a default database cells and a dedicated user pydio
  15.     mysql:
  16.          image: mysql:5.7
  17.          restart: always
  18.          environment:
  19.              MYSQL_ROOT_PASSWORD: P@ssw0rd
  20.              MYSQL_DATABASE: cells
  21.              MYSQL_USER: pydio
  22.              MYSQL_PASSWORD: P@ssw0rd
  23.          command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
  24.          ports: ["3306:3306"]
  25.  
  26. volumes:
  27.     static: {}
  28.     data: {}
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement