summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/bookstack.yml
blob: 095b56d8a51f877746ef031bb0cdffb2b82b3972 (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
56
57
58
59
60
captainVersion: 4
services:
    $$cap_appname-mariadb:
        image: linuxserver/mariadb:110.4.14mariabionic-ls77
        environment:
            MYSQL_ROOT_PASSWORD: $$cap_DB_PASS
            MYSQL_DATABASE: bookstack
            MYSQL_USER: bookstack
            MYSQL_PASSWORD: $$cap_DB_PASS
            PGID: 1000
            PUID: 1000
            TZ: $$cap_timezone
        volumes:
            - $$cap_appname-mariadb-config:/config
        caproverExtra:
            notExposeAsWebApp: 'true'
    $$cap_appname:
        environment:
            DB_HOST: srv-captain--$$cap_appname-mariadb
            DB_USER: bookstack
            DB_PASS: $$cap_DB_PASS
            DB_DATABASE: bookstack
            DB_PORT: 3306
            PGID: 1000
            PUID: 1000
            TZ: $$cap_timezone
            APP_URL: http://$$cap_appname.$$cap_root_domain
        image: linuxserver/bookstack:$$cap_bookstack_version
        restart: always
        volumes:
            - $$cap_appname-config:/config
caproverOneClickApp:
    variables:
        - label: Database Password
          description: Password to connect to the database
          defaultValue: $$cap_gen_random_hex(16)
          id: $$cap_DB_PASS
        - label: Timezone
          description: This is the timezone for the application, find yours at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
          defaultValue: Europe/London
          id: $$cap_timezone
        - id: $$cap_bookstack_version
          label: Version Tag
          description: Check out their Docker page for the valid tags https://hub.docker.com/r/linuxserver/bookstack/tags
          defaultValue: 'v0.29.3-ls99'
    instructions:
        start: |-
            A platform to create documentation/wiki content built with PHP & Laravel.

            GitHub: https://github.com/BookStackApp/BookStack
        end: |-
            Aaaand you're done! 😄

            Your service is available at http://$$cap_appname.$$cap_root_domain

            The default username is [email protected] with the password of password.
    displayName: BookStack
    isOfficial: true
    description: A platform to create documentation/wiki content built with PHP & Laravel
    documentation: https://www.bookstackapp.com/docs/