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 new file mode 100644 index 0000000..6a13266 Binary files /dev/null and b/public/v4/logos/seafile.png differ