Add packaging files
This commit is contained in:
parent
7e27029edc
commit
5bac2198f6
27
CloudronManifest.json
Normal file
27
CloudronManifest.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"id": "xyz.beepb00p.promnesia",
|
||||||
|
"title": "Promnesia",
|
||||||
|
"author": "karlicoss",
|
||||||
|
"description": "Promnesia is a browser extension (Chrome/Firefox/Firefox mobile) that serves as a web surfing copilot by enhancing your browsing history, improving your web exploration experience, and integrating with your knowledge base.",
|
||||||
|
"tagline": "Server backend for the Promnesia browser extension",
|
||||||
|
"version": "v1.0.20210415-1",
|
||||||
|
"healthCheckPath": "/status",
|
||||||
|
"httpPort": 3000,
|
||||||
|
"addons": {
|
||||||
|
"localstorage": {},
|
||||||
|
"proxyAuth": {}
|
||||||
|
},
|
||||||
|
"optionalSso": true,
|
||||||
|
"memoryLimit": 268435456,
|
||||||
|
"manifestVersion": 2,
|
||||||
|
"website": "https://beepb00p.xyz/promnesia.html",
|
||||||
|
"contactEmail": "support@clourdon.io",
|
||||||
|
"icon": "",
|
||||||
|
"tags": [ "knowledge base", "browsing history" ],
|
||||||
|
"mediaLinks": [],
|
||||||
|
"postInstallMessage": "good luck",
|
||||||
|
"minBoxVersion": "5.3.0",
|
||||||
|
"documentationUrl": "https://github.com/karlicoss/promnesia/blob/master/doc/GUIDE.org",
|
||||||
|
"forumUrl": "https://forum.cloudron.io/",
|
||||||
|
"changelog": "Build from source"
|
||||||
|
}
|
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
|
||||||
|
|
||||||
|
RUN pip3 install promnesia[all]
|
||||||
|
|
||||||
|
COPY start.sh /app/code/
|
||||||
|
|
||||||
|
|
||||||
|
RUN chmod +x /app/code/start.sh
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
CMD ["/app/code/start.sh"]
|
||||||
|
|
9
build-and-push.sh
Executable file
9
build-and-push.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
VERSION="${VERSION:-v1.0.20210415}"
|
||||||
|
BUILD="${BUILD:-1}"
|
||||||
|
REPO="${REPO:-infogulch/promnesia-app}"
|
||||||
|
|
||||||
|
TAG="$REPO:$VERSION-$BUILD"
|
||||||
|
|
||||||
|
docker build . -t "$TAG"
|
||||||
|
docker push "$TAG"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user