summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/pocketbase.yml
blob: 30d6e1d8e70d882cd2104fa72adc04c7d61806ea (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
captainVersion: 4

services:
    '$$cap_appname':
        caproverExtra:
            dockerfileLines:
                - FROM alpine:3.16.2
                - RUN apk add --no-cache unzip openssh
                - ADD https://github.com/pocketbase/pocketbase/releases/download/v$$cap_version/pocketbase_$$cap_version_$$cap_architecture.zip /tmp/pb.zip
                - RUN unzip /tmp/pb.zip -d /pb/
                - EXPOSE 8080
                - CMD ["/pb/pocketbase", "serve", "--http=0.0.0.0:8080"]
            containerHttpPort: '8080'
        volumes:
            - '$$cap_appname-data:/pb'

caproverOneClickApp:
    variables:
        - id: '$$cap_version'
          label: PocketBase Version
          defaultValue: '0.16.3'
          description: Check out their github page for the valid tags https://github.com/pocketbase/pocketbase/releases
          validRegex: "/^([^\\s^\\/])+$/"
        - id: '$$cap_architecture'
          label: System Host CPU Architecture
          defaultValue: 'linux_amd64'
          description: Check out their github page for the valid tags like 'linux_arm64' or 'darwin_arm64' https://github.com/pocketbase/pocketbase/releases
          validRegex: "/^([^\\s^\\/])+$/"
    instructions:
        start: |-
            PocketBase is an open source Go backend:
            - embedded database (SQLite) with realtime subscriptions
            - built-in files and users management
            - convenient Admin dashboard UI
            - and simple REST-ish API
        end: |-
            PocketBase has been successfully deployed!
    displayName: PocketBase
    isOfficial: true
    description: |-
        PocketBase is an open source Go backend: 
        - embedded database (SQLite) with realtime subscriptions
        - built-in files and users management
        - convenient Admin dashboard UI
        - and simple REST-ish API
    documentation: See https://pocketbase.io/