diff options
| author | Long Nguyen <[email protected]> | 2021-04-21 07:05:39 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-20 20:05:39 -0400 |
| commit | 031af00b24c55b75947925db94401e02678e2123 (patch) | |
| tree | 82f21e9f0d76da5025b7f58a4f942e0fbd687138 | |
| parent | 493e7d6af10e854843ffd2afda30562e0f909582 (diff) | |
| download | caprover-one-click-apps-031af00b24c55b75947925db94401e02678e2123.tar.gz caprover-one-click-apps-031af00b24c55b75947925db94401e02678e2123.zip | |
Add Seafile (#390)
* Add Seafile
* chore: add seafile logo & format
| -rw-r--r-- | public/v4/apps/seafile.yml | 74 | ||||
| -rw-r--r-- | public/v4/logos/seafile.png | bin | 0 -> 13557 bytes |
2 files changed, 74 insertions, 0 deletions
diff --git a/public/v4/apps/seafile.yml b/public/v4/apps/seafile.yml new file mode 100644 index 0000000..f5e6aff --- /dev/null +++ b/public/v4/apps/seafile.yml @@ -0,0 +1,74 @@ +captainVersion: 4 +services: + $$cap_appname-db: + image: 'mariadb:$$cap_mariadb_version' + environment: + MYSQL_ROOT_PASSWORD: $$cap_mariadb_root_passwd + volumes: + - '$$cap_appname-db-data:/var/lib/mysql' + networks: + - seafile-net + caproverExtra: + notExposeAsWebApp: true + $$cap_appname-memcached: + image: 'memcached:$$cap_memcached_version' + entrypoint: memcached -m 256 + networks: + - seafile-net + caproverExtra: + notExposeAsWebApp: true + $$cap_appname-seafile: + image: 'seafileltd/seafile-mc:$$cap_seafile_version' + volumes: + - '$$cap_appname-seafile-data:/shared' + environment: + DB_HOST: srv-captain--$$cap_appname-db + DB_ROOT_PASSWD: $$cap_mariadb_root_passwd + TIME_ZONE: $cap_timezone + SEAFILE_ADMIN_EMAIL: $$cap_seafile_admin_email + SEAFILE_ADMIN_PASSWORD: $$cap_seafile_admin_password + depends_on: + $$cap_appname-db: + condition: service_healthy + $$capp_appname-memcached: + condition: service_healthy + networks: + - seafile-net +caproverOneClickApp: + variables: + - id: $$cap_seafile_version + label: Seafile Version + defaultValue: 8.0.4 + - id: $$cap_memcached_version + label: Memcached Version + defaultValue: 1.5.6 + - id: $$cap_mariadb_version + label: MariaDB Version + defaultValue: '10.5' + - id: $$cap_mariadb_root_passwd + label: MariaDB Root Password + defaultValue: zR5oZ2gN + - id: $$cap_seafile_admin_email + label: Seafile Admin Email + defaultValue: admin@localhost + - id: $$cap_seafile_admin_password + label: Seafile Admin Password + defaultValue: xL2kX7iW + - id: $cap_timezone + label: Seafile Time zone + defaultValue: Asia/Ho_Chi_Minh + instructions: + start: >- + Seafile is an open source cloud storage system with file encryption and + group sharing. For more info visit https://www.seafile.com/ + end: |- + Seafile has been successfully deployed! + App is available as http://$$cap_appname.$$cap_root_domain + displayName: Seafile + isOfficial: false + description: >- + Seafile is an open source cloud storage system with file encryption and + group sharing. + documentation: >- + This docker-compose is taken from + https://manual.seafile.com/docker/deploy%20seafile%20with%20docker/ diff --git a/public/v4/logos/seafile.png b/public/v4/logos/seafile.png Binary files differnew file mode 100644 index 0000000..6a13266 --- /dev/null +++ b/public/v4/logos/seafile.png |
