parent
77b3445639
commit
042a9a1152
|
|
@ -29,18 +29,19 @@ caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- id: '$$cap_seafile_version'
|
- id: '$$cap_seafile_version'
|
||||||
label: Seafile Version
|
label: Seafile Version
|
||||||
defaultValue: '8.0.4'
|
defaultValue: '8.0.7'
|
||||||
description: Check out their Docker page for the valid tags https://hub.docker.com/r/seafileltd/seafile-mc/tags
|
description: Check out their Docker page for the valid tags https://hub.docker.com/r/seafileltd/seafile-mc/tags
|
||||||
validRegex: '/.{1,}/'
|
validRegex: '/.{1,}/'
|
||||||
- id: '$$cap_mariadb_version'
|
- id: '$$cap_mariadb_version'
|
||||||
label: MariaDB Version
|
label: MariaDB Version
|
||||||
defaultValue: '10.6'
|
defaultValue: '10.6.4'
|
||||||
description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags
|
description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags
|
||||||
validRegex: '/.{1,}/'
|
validRegex: '/.{1,}/'
|
||||||
- id: '$$cap_mariadb_root_pswd'
|
- id: '$$cap_mariadb_root_pswd'
|
||||||
label: MariaDB Root Password
|
label: MariaDB Root Password
|
||||||
defaultValue: '$$cap_gen_random_hex(32)'
|
defaultValue: '$$cap_gen_random_hex(10)'
|
||||||
description: Default password for root user of MariaDB. Must have at least 8 chars, 1 letter and 1 number
|
description: Default password for root user of MariaDB. Must have at least 8 chars, 1 letter and 1 number
|
||||||
|
validRegex: '/.{8,}/'
|
||||||
- id: '$$cap_timezone'
|
- id: '$$cap_timezone'
|
||||||
label: 'Seafile Timezone'
|
label: 'Seafile Timezone'
|
||||||
defaultValue: 'Etc/UTC'
|
defaultValue: 'Etc/UTC'
|
||||||
|
|
@ -49,12 +50,16 @@ caproverOneClickApp:
|
||||||
label: Seafile Admin Email
|
label: Seafile Admin Email
|
||||||
description: Email for admin user of Seafile
|
description: Email for admin user of Seafile
|
||||||
defaultValue: 'admin@seafile.com'
|
defaultValue: 'admin@seafile.com'
|
||||||
|
validRegex: '/.{1,}/'
|
||||||
- id: '$$cap_admin_pswd'
|
- id: '$$cap_admin_pswd'
|
||||||
label: Seafile Admin Password
|
label: Seafile Admin Password
|
||||||
description: Password for admin user of Seafile. Must have at least 8 chars, 1 letter and 1 number
|
description: Password for admin user of Seafile. Must have at least 8 chars, 1 letter and 1 number
|
||||||
|
defaultValue: '$$cap_gen_random_hex(10)'
|
||||||
|
validRegex: '/.{8,}/'
|
||||||
- id: '$$cap_seafile_hostname'
|
- id: '$$cap_seafile_hostname'
|
||||||
label: Seafile Hostname
|
label: Seafile Hostname
|
||||||
description: Hostname of Seafile instance (that will be used by it in future)
|
description: Hostname of Seafile instance (that will be used by it in future)
|
||||||
|
validRegex: '/.{3,}/'
|
||||||
|
|
||||||
instructions:
|
instructions:
|
||||||
start: |-
|
start: |-
|
||||||
|
|
@ -67,7 +72,7 @@ caproverOneClickApp:
|
||||||
Your app will soon be available at http://$$cap_appname.$$cap_root_domain/
|
Your app will soon be available at http://$$cap_appname.$$cap_root_domain/
|
||||||
|
|
||||||
Don't forget to add specified hostname to Seafile domains!
|
Don't forget to add specified hostname to Seafile domains!
|
||||||
displayName: Seafile (Official)
|
displayName: Seafile (no memcached)
|
||||||
isOfficial: true
|
isOfficial: true
|
||||||
description: Reliable and Performant File Sync and Share Solution
|
description: Reliable and Performant File Sync and Share Solution
|
||||||
documentation: Taken from https://manual.seafile.com/
|
documentation: Taken from https://manual.seafile.com/
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ services:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
notExposeAsWebApp: true
|
notExposeAsWebApp: true
|
||||||
$$cap_appname-seafile:
|
$$cap_appname:
|
||||||
image: 'seafileltd/seafile-mc:$$cap_seafile_version'
|
image: 'seafileltd/seafile-mc:$$cap_seafile_version'
|
||||||
volumes:
|
volumes:
|
||||||
- '$$cap_appname-seafile-data:/shared'
|
- '$$cap_appname-seafile-data:/shared'
|
||||||
|
|
@ -27,6 +27,7 @@ services:
|
||||||
TIME_ZONE: $cap_timezone
|
TIME_ZONE: $cap_timezone
|
||||||
SEAFILE_ADMIN_EMAIL: $$cap_seafile_admin_email
|
SEAFILE_ADMIN_EMAIL: $$cap_seafile_admin_email
|
||||||
SEAFILE_ADMIN_PASSWORD: $$cap_seafile_admin_password
|
SEAFILE_ADMIN_PASSWORD: $$cap_seafile_admin_password
|
||||||
|
SEAFILE_SERVER_HOSTNAME: '$$cap_seafile_hostname'
|
||||||
depends_on:
|
depends_on:
|
||||||
$$cap_appname-db:
|
$$cap_appname-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
@ -38,25 +39,41 @@ caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- id: $$cap_seafile_version
|
- id: $$cap_seafile_version
|
||||||
label: Seafile Version
|
label: Seafile Version
|
||||||
defaultValue: 8.0.4
|
defaultValue: 8.0.7
|
||||||
|
description: Check out their Docker page for the valid tags https://hub.docker.com/r/seafileltd/seafile-mc/tags
|
||||||
|
validRegex: '/.{1,}/'
|
||||||
- id: $$cap_memcached_version
|
- id: $$cap_memcached_version
|
||||||
label: Memcached Version
|
label: Memcached Version
|
||||||
defaultValue: 1.5.6
|
defaultValue: 1.6.12
|
||||||
|
description: Check out their Docker page for the valid tags https://hub.docker.com/_/memcached?tab=tags
|
||||||
|
validRegex: '/.{1,}/'
|
||||||
- id: $$cap_mariadb_version
|
- id: $$cap_mariadb_version
|
||||||
label: MariaDB Version
|
label: MariaDB Version
|
||||||
defaultValue: '10.5'
|
defaultValue: '10.6.4'
|
||||||
|
description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags
|
||||||
|
validRegex: '/.{1,}/'
|
||||||
- id: $$cap_mariadb_root_passwd
|
- id: $$cap_mariadb_root_passwd
|
||||||
label: MariaDB Root Password
|
label: MariaDB Root Password
|
||||||
defaultValue: zR5oZ2gN
|
defaultValue: '$$cap_gen_random_hex(10)'
|
||||||
|
description: Default password for root user of MariaDB. Must have at least 8 chars, 1 letter and 1 number
|
||||||
|
validRegex: '/.{8,}/'
|
||||||
- id: $$cap_seafile_admin_email
|
- id: $$cap_seafile_admin_email
|
||||||
label: Seafile Admin Email
|
label: Seafile Admin Email
|
||||||
defaultValue: admin@localhost
|
defaultValue: admin@localhost
|
||||||
|
description: Email for admin user of Seafile
|
||||||
- id: $$cap_seafile_admin_password
|
- id: $$cap_seafile_admin_password
|
||||||
label: Seafile Admin Password
|
label: Seafile Admin Password
|
||||||
defaultValue: xL2kX7iW
|
defaultValue: '$$cap_gen_random_hex(10)'
|
||||||
|
description: Password for admin user of Seafile. Must have at least 8 chars, 1 letter and 1 number
|
||||||
|
validRegex: '/.{8,}/'
|
||||||
- id: $cap_timezone
|
- id: $cap_timezone
|
||||||
label: Seafile Time zone
|
label: Seafile Time zone
|
||||||
defaultValue: Asia/Ho_Chi_Minh
|
defaultValue: 'Etc/UTC'
|
||||||
|
description: Timezone that Seafile should use
|
||||||
|
- id: '$$cap_seafile_hostname'
|
||||||
|
label: Seafile Hostname
|
||||||
|
description: Hostname of Seafile instance (that will be used by it in future)
|
||||||
|
validRegex: '/.{3,}/'
|
||||||
instructions:
|
instructions:
|
||||||
start: >-
|
start: >-
|
||||||
Seafile is an open source cloud storage system with file encryption and
|
Seafile is an open source cloud storage system with file encryption and
|
||||||
|
|
@ -64,7 +81,8 @@ caproverOneClickApp:
|
||||||
end: |-
|
end: |-
|
||||||
Seafile has been successfully deployed!
|
Seafile has been successfully deployed!
|
||||||
App is available as http://$$cap_appname.$$cap_root_domain
|
App is available as http://$$cap_appname.$$cap_root_domain
|
||||||
displayName: Seafile
|
Don't forget to add specified hostname to Seafile domains!
|
||||||
|
displayName: Seafile (memcached)
|
||||||
isOfficial: true
|
isOfficial: true
|
||||||
description: >-
|
description: >-
|
||||||
Seafile is an open source cloud storage system with file encryption and
|
Seafile is an open source cloud storage system with file encryption and
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue