diff options
| author | Luca Guzzon <[email protected]> | 2022-10-21 06:42:34 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-20 21:42:34 -0700 |
| commit | 1d94661f34fc5d22721772c89ec99029e9431ebe (patch) | |
| tree | eafb2f07fef4cad57983d4f0077fdb3f474428e5 | |
| parent | f983402d52c3d6922ee40d0159dcd485b9b7111f (diff) | |
| download | caprover-one-click-apps-1d94661f34fc5d22721772c89ec99029e9431ebe.tar.gz caprover-one-click-apps-1d94661f34fc5d22721772c89ec99029e9431ebe.zip | |
feat: add pocketbase (#769)
* feat: add pocketbase
* fix(pocketbase): Docker and description fix-ups
Docker alpine image fixed removing "latest" label
Corrected length of description
* fix(pocketbase): Version label fix-ups
* fix(pocketbase): yml formatting issue fix-ups
| -rw-r--r-- | public/v4/apps/pocketbase.yml | 41 | ||||
| -rw-r--r-- | public/v4/logos/pocketbase.png | bin | 0 -> 3180 bytes |
2 files changed, 41 insertions, 0 deletions
diff --git a/public/v4/apps/pocketbase.yml b/public/v4/apps/pocketbase.yml new file mode 100644 index 0000000..463bec6 --- /dev/null +++ b/public/v4/apps/pocketbase.yml @@ -0,0 +1,41 @@ +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_linux_amd64.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/pb_data' + +caproverOneClickApp: + variables: + - id: '$$cap_version' + label: PocketBase Version + defaultValue: '0.7.9' + description: Check out their Docker page for the valid tags 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/ diff --git a/public/v4/logos/pocketbase.png b/public/v4/logos/pocketbase.png Binary files differnew file mode 100644 index 0000000..7a0d6a3 --- /dev/null +++ b/public/v4/logos/pocketbase.png |
