Advertisement
Guest User

Untitled

a guest
Jan 6th, 2021
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.11 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","33060:33060"]
  9.         environment:
  10.            - CELLS_BIND=localhost:8080
  11.             - CELLS_EXTERNAL=https://pydio.somecompany.com
  12.             - CELLS_NO_SSL=0
  13.             - PYDIO_GRPC_EXTERNAL=33060
  14.               #command: ["cells", "start", "--grpc_external=33060"] #someone says this helped but it doesn't affect my problem
  15.  
  16.     # MySQL image with a default database cells and a dedicated user pydio
  17.     mysql:
  18.          image: mysql:5.7
  19.          restart: always
  20.          environment:
  21.              MYSQL_ROOT_PASSWORD: P@ssw0rd
  22.              MYSQL_DATABASE: cells
  23.              MYSQL_USER: pydio
  24.              MYSQL_PASSWORD: P@ssw0rd
  25.          command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
  26.          ports: ["3306:3306"]
  27.  
  28. volumes:
  29.     static: {}
  30.     data: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement