123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- version: '3'
- services:
- cells:
- image: pydio/cells:latest
- restart: always
- ports: ["8080:8080"]
- environment:
- - CELLS_LOG_LEVEL=production
- - CELLS_SSL_CERT_FILE=/ssl/ssl.cert
- - CELLS_SSL_KEY_FILE=/ssl/ssl.key
- volumes:
- - ./pydio/data:/var/cells/data
- - ./pydio/cells:/var/cells
- - ./ssl:/ssl
- networks:
- - cells
- mysql:
- image: mariadb
- restart: always
- environment:
- MYSQL_RANDOM_ROOT_PASSWORD: 1
- MYSQL_DATABASE: ${MYSQL_DB}
- MYSQL_USER: ${MYSQL_USER}
- MYSQL_PASSWORD: ${MYSQL_PASS}
- command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
- volumes:
- - ./pydio/db:/var/lib/mysql
- networks:
- - cells
- db:
- image: mariadb:10.5
- container_name: seafile-mysql
- environment:
- - MYSQL_ROOT_PASSWORD=${DB_PASS} # Requested, set the root's password of MySQL service.
- - MYSQL_LOG_CONSOLE=true
- volumes:
- - ./seafile/db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
- networks:
- - seafile
- memcached:
- image: memcached:1.6
- container_name: seafile-memcached
- entrypoint: memcached -m 256
- networks:
- - seafile
-
- seafile:
- image: seafileltd/seafile-mc:latest
- container_name: seafile
- ports:
- - "80:80"
- # - "443:443" # If https is enabled, cancel the comment.
- volumes:
- - ./seafile/data:/shared # Requested, specifies the path to Seafile data persistent store.
- environment:
- - DB_HOST=db
- - DB_ROOT_PASSWD=${DB_PASS} # Requested, the value shuold be root's password of MySQL service.
- - TIME_ZONE=Europe/Zurich # Optional, default is UTC. Should be uncomment and set to your local time zone.
- - SEAFILE_ADMIN_EMAIL=${SF_EMAIL} # Specifies Seafile admin user, default is 'me@example.com'.
- - SEAFILE_ADMIN_PASSWORD=${SF_PASS} # Specifies Seafile admin password, default is 'asecret'.
- - SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
- - SEAFILE_SERVER_HOSTNAME=${SF_HOSTNAME} # Specifies your host name if https is enabled.
- depends_on:
- - db
- - memcached
- networks:
- - seafile
- networks:
- seafile:
- cells:
|