Pydio cells

Pydio cells
This commit is contained in:
Lorenzo Carbonell 2023-10-15 08:45:42 +02:00
parent ebafdb3de0
commit a1708f6ab3
No known key found for this signature in database
GPG Key ID: B5E8FC9484B82CA9
3 changed files with 69 additions and 0 deletions

9
cells/README.md Normal file
View File

@ -0,0 +1,9 @@
# Installation
```
git clone https://github.com/atareao/self-hosted.git
cd self-hosted/cells
cp sample.env .env
```
In `.env` change variables as you need

55
cells/docker-compose.yml Normal file
View File

@ -0,0 +1,55 @@
version: "3.7"
services:
cells:
image: pydio/cells:latest
container_name: cells
init: true
restart: unless-stopped
environment:
CELLS_SITE_NO_TLS: 1
CELLS_SITE_EXTERNAL: "https://${FQDN}"
networks:
- proxy
- internal
volumes:
- cellsdir:/var/cells
- data:/var/cells/data
labels:
- traefik.enable=true
- traefik.http.services.cells.loadbalancer.server.port=8080
- traefik.http.routers.cells.entrypoints=websecure
- traefik.http.routers.cells.rule=Host(`${FQDN}`)
- traefik.http.routers.cells.tls=true
- traefik.http.routers.cells.tls.certresolver=letsencrypt
mysql:
image: mysql:8
container_name: cells_mysql
init: true
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: "$MYSQL_ROOT_PASSWORD"
MYSQL_DATABASE: "$MYSQL_DATABASE"
MYSQL_USER: "$MYSQL_USER"
MYSQL_PASSWORD: "$MYSQL_PASSWORD"
command:
[
mysqld,
--character-set-server=utf8mb4,
--collation-server=utf8mb4_unicode_ci,
]
networks:
- internal
volumes:
- mysqldir:/var/lib/mysql
volumes:
cellsdir: {}
data: {}
mysqldir: {}
networks:
internal: {}
proxy:
external: true

5
cells/sample.env Normal file
View File

@ -0,0 +1,5 @@
FQDN=cells.tusitio.es
MYSQL_ROOT_PASSWORD=P@ssw0rd
MYSQL_DATABASE=cells
MYSQL_USER=pydio
MYSQL_PASSWORD=P@ssw0rd