fix: update seadoc and seafile services to enable port mapping

This commit is contained in:
2025-06-30 10:00:19 +08:00
parent b1b01f3ab3
commit 8723f1b7f5
3 changed files with 6 additions and 4 deletions
+2
View File
@@ -181,3 +181,5 @@ kubernetes/talos/config
kubernetes/talos/_out/ kubernetes/talos/_out/
kubernetes/config/ kubernetes/config/
kubernetes/_out/ kubernetes/_out/
swarm/seafile/seafile-data/
swarm/seafile/seafile-mysql/db/
+2 -2
View File
@@ -5,8 +5,8 @@ services:
container_name: seadoc container_name: seadoc
volumes: volumes:
- ${SEADOC_VOLUME:-/opt/seadoc-data/}:/shared - ${SEADOC_VOLUME:-/opt/seadoc-data/}:/shared
# ports: ports:
# - "80:80" - "8888:80"
environment: environment:
- DB_HOST=${SEAFILE_MYSQL_DB_HOST:-db} - DB_HOST=${SEAFILE_MYSQL_DB_HOST:-db}
- DB_PORT=${SEAFILE_MYSQL_DB_PORT:-3306} - DB_PORT=${SEAFILE_MYSQL_DB_PORT:-3306}
+2 -2
View File
@@ -34,8 +34,8 @@ services:
seafile: seafile:
image: ${SEAFILE_IMAGE:-seafileltd/seafile-mc:12.0-latest} image: ${SEAFILE_IMAGE:-seafileltd/seafile-mc:12.0-latest}
container_name: seafile container_name: seafile
# ports: ports:
# - "80:80" - "8000:80"
volumes: volumes:
- ${SEAFILE_VOLUME:-/opt/seafile-data}:/shared - ${SEAFILE_VOLUME:-/opt/seafile-data}:/shared
environment: environment: