From 31085b588cc26b375d7c389aa2df128aec2db5bb Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 29 Nov 2023 20:03:19 -0600 Subject: [PATCH] seafile testing --- seafile/compose.yml | 48 ++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/seafile/compose.yml b/seafile/compose.yml index 015d968..f075938 100644 --- a/seafile/compose.yml +++ b/seafile/compose.yml @@ -1,36 +1,44 @@ version: '3' services: - seafile-mariadb: - image: mariadb:10.11 - container_name: seafile-mariadb + db: + image: mariadb + container_name: seafile-mysql environment: - - MYSQL_ROOT_PASSWORD=xoe3cheokuotooZoh4aiGheeg1ud0i # Requested, set the root's password of MySQL service. + - MYSQL_ROOT_PASSWORD=eizaukoo1fooghaejohZ - MYSQL_LOG_CONSOLE=true volumes: - - ${DOCKER_CONFIGS}/seafile/mysql/db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store. + - ./data/mariadb:/var/lib/mysql + networks: + - seafile-net - seafile-memcached: - image: memcached:1.6.18 + memcached: + image: memcached container_name: seafile-memcached entrypoint: memcached -m 256 + networks: + - seafile-net seafile: - image: seafileltd/seafile-mc:latest + image: seafileltd/seafile-mc container_name: seafile ports: - - "7080:80" + - "8080:80" volumes: - - ${DOCKER_CONFIGS}/seafile/data:/shared # Requested, specifies the path to Seafile data persistent store. + - ./data/app:/shared environment: - - DEBUG=true - - DB_HOST=seafile-mariadb - - DB_ROOT_PASSWD=xoe3cheokuotooZoh4aiGheeg1ud0i # Requested, the value should be root's password of MySQL service. - - TIME_ZONE=Etc/UTC # Optional, default is UTC. Should be uncomment and set to your local time zone. - - SEAFILE_ADMIN_EMAIL=akanealw@gmail.com # Specifies Seafile admin user, default is 'me@example.com'. - - SEAFILE_ADMIN_PASSWORD=biF1shohsai5ieLizu5Eepoh5evaex # Specifies Seafile admin password, default is 'asecret'. - - SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not. - - SEAFILE_SERVER_HOSTNAME=seafile.akanealw.com # Specifies your host name if https is enabled. + - DB_HOST=db + - DB_ROOT_PASSWD=eizaukoo1fooghaejohZ + - TIME_ZONE=Etc/UTC + - SEAFILE_ADMIN_EMAIL=akanealw@gmail.com + - SEAFILE_ADMIN_PASSWORD=ShaS0gooL7Eiheidi9ni + - SEAFILE_SERVER_LETSENCRYPT=false + - SEAFILE_SERVER_HOSTNAME=seafile.akanealw.com depends_on: - - seafile-mariadb - - seafile-memcached + - db + - memcached + networks: + - seafile-net + +networks: + seafile-net: