Merge pull request #392 from haiwen/rm-docker.seadrive.org-url

pro push to docker hub and rm docker.seadrive.org url
This commit is contained in:
Daniel Pan 2024-11-12 15:14:53 +08:00 committed by GitHub
commit 5c1909e64d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 15 additions and 17 deletions

View File

@ -7,7 +7,7 @@ COMPOSE_FILE='seafile-server.yml,caddy.yml'
COMPOSE_PATH_SEPARATOR=','
SEAFILE_IMAGE=docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest
SEAFILE_IMAGE=seafileltd/seafile-pro-mc:12.0-latest
SEAFILE_DB_IMAGE=mariadb:10.11
SEAFILE_MEMCACHED_IMAGE=memcached:1.6.29
SEAFILE_ELASTICSEARCH_IMAGE=elasticsearch:8.15.0 # pro edition only
@ -54,6 +54,10 @@ SEADOC_VOLUME=/opt/seadoc-data
ENABLE_SEADOC=false
SEADOC_SERVER_URL=http://example.seafile.com/sdoc-server
NOTIFICATION_SERVER_IMAGE=seafileltd/notification-server:12.0-latest
NOTIFICATION_SERVER_VOLUME=/opt/notification-data
```
## Seafile-docker configurations
@ -65,7 +69,7 @@ SEADOC_SERVER_URL=http://example.seafile.com/sdoc-server
### Docker images configurations
- `SEAFILE_IMAGE`: The image of Seafile-server, default is `docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest`.
- `SEAFILE_IMAGE`: The image of Seafile-server, default is `seafileltd/seafile-pro-mc:12.0-latest`.
- `SEAFILE_DB_IMAGE`: Database server image, default is `mariadb:10.11`.
- `SEAFILE_MEMCACHED_IMAGE`: Cached server image, default is `memcached:1.6.29`
- `SEAFILE_ELASTICSEARCH_IMAGE`: Only valid in pro edition. The elasticsearch image, default is `elasticsearch:8.15.0`.

View File

@ -1,6 +1,6 @@
COMPOSE_FILE='seafile-server.yml'
COMPOSE_PATH_SEPARATOR=','
SEAFILE_IMAGE=docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest
SEAFILE_IMAGE=seafileltd/seafile-pro-mc:12.0-latest
SEAFILE_VOLUME=/opt/seafile/shared
SEAFILE_SERVER_HOSTNAME=seafile.example.com
SEAFILE_SERVER_PROTOCOL=http

View File

@ -1,6 +1,6 @@
services:
seafile:
image: ${SEAFILE_IMAGE:-docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest}
image: ${SEAFILE_IMAGE:-seafileltd/seafile-pro-mc:12.0-latest}
container_name: seafile
ports:
- 80:80

View File

@ -2,7 +2,7 @@ COMPOSE_FILE='seafile-server.yml,caddy.yml'
COMPOSE_PATH_SEPARATOR=','
SEAFILE_IMAGE=docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest
SEAFILE_IMAGE=seafileltd/seafile-pro-mc:12.0-latest
SEAFILE_DB_IMAGE=mariadb:10.11
SEAFILE_MEMCACHED_IMAGE=memcached:1.6.29
SEAFILE_ELASTICSEARCH_IMAGE=elasticsearch:8.15.0

View File

@ -37,7 +37,7 @@ services:
- seafile-net
seafile:
image: ${SEAFILE_IMAGE:-docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest}
image: ${SEAFILE_IMAGE:-seafileltd/seafile-pro-mc:12.0-latest}
container_name: seafile
# ports:
# - "80:80"

View File

@ -24,11 +24,8 @@ We assume you have already deployed memcache, MariaDB, ElasticSearch in separate
2. Pulling Seafile image
Log into Seafile's private repository and pull the Seafile image:
```bash
docker login docker.seadrive.org
docker pull docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest
docker pull seafileltd/seafile-pro-mc:12.0-latest
```
When prompted, enter the username and password of the private repository. They are available on the download page in the [Customer Center](https://customer.seafile.com/downloads).

View File

@ -19,7 +19,7 @@ The two tools, **kubectl** and a **k8s control plane** tool (i.e., ***kubeadm***
If it is a multi-node deployment, k8s control plane needs to be installed on each node. After installation, you need to start the k8s control plane service on each node and refer to the k8s official manual for [creating a cluster](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/). Since this manual still uses the same image as docker deployment, we need to add the following repository to k8s:
```shell
kubectl create secret docker-registry regcred --docker-server=docker.seadrive.org/seafileltd --docker-username=seafile --docker-password=zjkmid6rQibdZ=uJMuWS
kubectl create secret docker-registry regcred --docker-server=seafileltd --docker-username=seafile --docker-password=zjkmid6rQibdZ=uJMuWS
```
## YAML
@ -193,7 +193,7 @@ spec:
- name: seafile
# image: seafileltd/seafile-mc:9.0.10
# image: seafileltd/seafile-mc:11.0-latest
image: docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest
image: seafileltd/seafile-pro-mc:12.0-latest
env:
- name: DB_HOST
value: "mariadb"

View File

@ -64,7 +64,7 @@ elasticsearch:
restart: unless-stopped
seafile:
image: docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest
image: seafileltd/seafile-pro-mc:12.0-latest
container_name: seafile
restart: unless-stopped
```

View File

@ -39,11 +39,8 @@ Use the [official installation guide for your OS to install Docker](https://docs
### Downloading the Seafile Image
Log into Seafile's private repository and pull the Seafile image:
```bash
docker login docker.seadrive.org
docker pull docker.seadrive.org/seafileltd/seafile-pro-mc:12.0-latest
docker pull seafileltd/seafile-pro-mc:12.0-latest
```
When prompted, enter the username and password of the private repository. They are available on the download page in the [Customer Center](https://customer.seafile.com/downloads).