summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/onlyoffice-documentserver.yml
blob: 877cf2e4b6d13de4ac2cfb384fb1b18556afcf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
captainVersion: 4
version: '2.0'
services:
    $$cap_appname:
        image: onlyoffice/documentserver:$$cap_app_version
        environment:
            JWT_ENABLED: $$cap_secret_enable
            JWT_SECRET: $$cap_secret_pass
            JWT_HEADER: $$cap_header
            JWT_IN_BODY: $$cap_body
        volumes:
            - $$cap_appname-logs:/var/log/onlyoffice
            - $$cap_appname-data:/var/www/onlyoffice/Data
            - $$cap_appname-lib:/var/lib/onlyoffice
            - $$cap_appname-rabbitmq:/var/lib/rabbitmq
            - $$cap_appname-redis:/var/lib/redis
            - $$cap_appname-postgresql:/var/lib/postgresql
            - $$cap_appname-fonts:/usr/share/fonts/truetype/custom
caproverOneClickApp:
    variables:
        - id: '$$cap_app_version'
          label: Document Server Version
          description: Check out their Docker page for the valid tags https://hub.docker.com/r/onlyoffice/documentserver/tags
          defaultValue: '7.3.3.50'
          validRegex: '/.{1,}/'
        - id: $$cap_secret_enable
          label: Enable secret key
          description: Specifies the enabling the JSON web token validation by ONLYOFFICE Docs.
          defaultValue: true
        - id: $$cap_secret_pass
          label: Secret key
          description: Defines the secret key to validate the JSON web token in the request to ONLYOFFICE Docs.
          validRegex: /.{1,}/
          defaultValue: $$cap_gen_random_hex(12)
        - id: $$cap_header
          label: Header
          description: Defines the HTTP header that will be used to send the JSON web token.
          defaultValue: Authorization
        - id: $$cap_body
          label: Body
          description: Specifies the enabling the token validation in the request body to the ONLYOFFICE Docs.
          defaultValue: true
    instructions:
        start: |-
            ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, 
            spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, 
            .pptx and enabling collaborative editing in real time.
        end: |-
            Congratulations, you have successfully deployed ONLYOFFICE Document Server!

            Your app will soon be available at http://$$cap_appname.$$cap_root_domain/
    displayName: 'ONLYOFFICE Document Server'
    isOfficial: true
    description: Online office suite comprising viewers and editors for texts, spreadsheets and presentations
    documentation: Taken from https://github.com/ONLYOFFICE/Docker-DocumentServer