Hi.
Im trying to install the seafile pro self hosting package.
I have gotten so far that i can start docker compose.
but it seems to never finish onthe mariadb stuff
waiting for mysql server to be ready: %s (1130, “Host ‘172.19.0.5’ is not allowed to connect to this MariaDB server”)
The docker-compose is basically the one at
manual. seafile. com/ docker/ docker-compose/pro/11.0/docker-compose.yml
I have changed the public port of seafile to 9080, change admin email and password, not using https/ssl.
docker-compose:
services:
db:
image: mariadb:10.11
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=db_dev # Required, set the root’s password of MySQL service.
- MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=1
volumes:
- /data/docker/seafile/seafile-mysql/db:/var/lib/mysql # Required, specifies the path to MySQL data persistent store.
networks:
- seafile-netmemcached:
image: memcached:1.6.18
container_name: seafile-memcached
entrypoint: memcached -m 256
networks:
- seafile-netelasticsearch:
image: elasticsearch:8.13.0
container_name: seafile-elasticsearch
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- “ES_JAVA_OPTS=-Xms2g -Xmx2g”
- “xpack.security.enabled=false”
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 4g
volumes:
- /data/docker/seafile/seafile-elasticsearch/data:/usr/share/elasticsearch/data # Required, specifies the path to Elasticsearch data persistent store.
networks:
- seafile-netseafile:
image: docker. seadrive. org/seafileltd/seafile-pro-mc:11.0-latest
container_name: seafile
ports:
- “9080:80”- “443:443” # If https is enabled, cancel the comment.
volumes: - /data/docker/seafile/seafile-data:/shared # Required, specifies the path to Seafile data persistent store. environment: - DB_HOST=db - DB_ROOT_PASSWD=db_dev # Required, the value should be root's password of MySQL service.
- TIME_ZONE=Asia/Shanghai # Optional, default is UTC. Should be uncomment and set to your local time zone.
- SEAFILE_ADMIN_EMAIL=name@domain.tld # Specifies Seafile admin user, default is 'me@example.com' - SEAFILE_ADMIN_PASSWORD=newPassword # Specifies Seafile admin password, default is 'asecret' - SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not
- SEAFILE_SERVER_HOSTNAME=example .seafile.com # Specifies your host name if https is enabled
depends_on: - db - memcached - elasticsearch networks: - seafile-net
networks:
seafile-net:
I have let the docker up and runnig for maybe 30 minutes or more already.