Created
January 30, 2023 17:34
-
-
Save DouglasdeMoura/685d89de6605c3bff88b608be582533c to your computer and use it in GitHub Desktop.
Pocketbase 0.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.10.0' | |
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/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment