fix: update image tags and container names in seafile.yml
This commit is contained in:
+16
-11
@@ -13,7 +13,7 @@ volumes:
|
||||
|
||||
services:
|
||||
# seafile-init:
|
||||
# image: ${SEAFILE_IMAGE_TAG}
|
||||
# image: ${SEAFILE_IMAGE}
|
||||
# user: "0:0"
|
||||
# command: >
|
||||
# sh -c "
|
||||
@@ -30,16 +30,18 @@ services:
|
||||
# restart: "no"
|
||||
|
||||
mariadb:
|
||||
image: ${SEAFILE_MARIADB_IMAGE_TAG:-mariadb:10.11}
|
||||
image: ${SEAFILE_DB_IMAGE:-mariadb:10.11}
|
||||
container_name: seafile-mysql
|
||||
volumes:
|
||||
- mariadb-data:/var/lib/mysql
|
||||
environment:
|
||||
MARIADB_USER: ${SEAFILE_MYSQL_DB_USER}
|
||||
MARIADB_PASSWORD: ${SEAFILE_MYSQL_DB_PASSWORD}
|
||||
MARIADB_ROOT_PASSWORD: ${INIT_SEAFILE_MYSQL_ROOT_PASSWORD}
|
||||
MARIADB_DATABASE: seafile
|
||||
MARIADB_AUTO_UPGRADE: 1
|
||||
volumes:
|
||||
- mariadb-data:/var/lib/mysql
|
||||
# volumes:
|
||||
# - "${SEAFILE_MYSQL_VOLUME:-/opt/seafile-mysql/db}:/var/lib/mysql"
|
||||
networks:
|
||||
- seafile-network
|
||||
healthcheck:
|
||||
@@ -51,7 +53,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
memcached:
|
||||
image: ${SEAFILE_MEMCACHE_IMAGE_TAG:-memcached:1.6.29}
|
||||
image: ${SEAFILE_MEMCACHED_IMAGE:-memcached:1.6.29}
|
||||
container_name: seafile-memcached
|
||||
entrypoint: memcached -m 256
|
||||
networks:
|
||||
@@ -65,10 +67,12 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
seafile:
|
||||
image: ${SEAFILE_IMAGE_TAG:-seafileltd/seafile-mc:12.0-latest}
|
||||
image: ${SEAFILE_IMAGE:-seafileltd/seafile-mc:12.0-latest}
|
||||
container_name: seafile
|
||||
ports:
|
||||
- "8000:80"
|
||||
volumes:
|
||||
- seafile-data:${DATA_PATH}
|
||||
- seafile-data:/shared
|
||||
environment:
|
||||
- DB_HOST=${SEAFILE_MYSQL_DB_HOST:-mariadb}
|
||||
- DB_PORT=${SEAFILE_MYSQL_DB_PORT:-3306}
|
||||
@@ -168,12 +172,13 @@ services:
|
||||
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
# - seafile-init
|
||||
- mariadb
|
||||
- memcached
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
memcached:
|
||||
condition: service_started
|
||||
|
||||
# backups:
|
||||
# image: ${SEAFILE_MARIADB_IMAGE_TAG}
|
||||
# image: ${SEAFILE_DB_IMAGE:-mariadb:10.11}
|
||||
# command: >-
|
||||
# sh -c "sleep $$BACKUP_INIT_SLEEP &&
|
||||
# while true; do
|
||||
|
||||
Reference in New Issue
Block a user