fix: update service definitions to expose ports and adjust dependencies in seafile.yml

This commit is contained in:
2025-06-30 20:51:22 +08:00
parent 51aed951fe
commit 9ffda8fd78
+7 -5
View File
@@ -40,8 +40,8 @@ services:
MARIADB_AUTO_UPGRADE: 1
volumes:
- mariadb-data:/var/lib/mysql
# volumes:
# - "${SEAFILE_MYSQL_VOLUME:-/opt/seafile-mysql/db}:/var/lib/mysql"
expose:
- 3306
networks:
- seafile-network
healthcheck:
@@ -56,14 +56,16 @@ services:
image: ${SEAFILE_MEMCACHED_IMAGE:-memcached:1.6.29}
container_name: seafile-memcached
entrypoint: memcached -m 256
expose:
- 11211
networks:
- seafile-network
seafile:
image: ${SEAFILE_IMAGE:-seafileltd/seafile-mc:12.0-latest}
container_name: seafile
ports:
- "8000:80"
expose:
- 80
volumes:
- seafile-data:/shared
environment:
@@ -165,7 +167,7 @@ services:
restart: unless-stopped
depends_on:
- mariadb
- ${SEAFILE_MYSQL_DB_HOST:-mariadb}
- memcached
# backups: