Fix scripts; add icon reference

This commit is contained in:
Joe 2021-03-09 22:58:40 -06:00
parent f7d6bc64a8
commit 204c7ce606
3 changed files with 14 additions and 5 deletions

View File

@ -4,17 +4,18 @@
"author": "TerminusDB",
"description": "TerminusDB is an open-source graph database and document store. It is designed for collaboratively building data-intensive applications and knowledge graphs.",
"tagline": "If you want to collaborate with colleagues or build data-intensive applications, nothing will make you more productive.",
"version": "0.0.2",
"version": "0.0.4",
"healthCheckPath": "/",
"httpPort": 3000,
"addons": {
"proxyAuth": {}
},
"optionalSso": true,
"memoryLimit": 1610612736,
"manifestVersion": 2,
"website": "https://terminusdb.com",
"contactEmail": "support@clourdon.io",
"icon": "",
"icon": "logo512.png",
"tags": [ "graph database", "revision control" ],
"mediaLinks": [],
"postInstallMessage": "good luck",

View File

@ -10,10 +10,10 @@ RUN git clone https://github.com/terminusdb/terminusdb \
&& cd terminusdb \
&& make
RUN mkdir -p /app/data
COPY start.sh /app/code/start.sh
RUN chmod +x /app/code/start.sh
RUN mkdir -p /app/data
CMD start.sh
CMD /app/code/start.sh

View File

@ -9,6 +9,14 @@ export TERMINUSDB_SERVER_PORT=3000
export TERMINUSDB_AUTOLOGIN=true
export TERMINUSDB_ENABLE_WELCOME_SCREEN=true
export TERMINUSDB_SERVER_DB_PATH=/app/data
export TERMINUSDB_HTTPS_ENABLED=false
if [[ ! -f /app/data/.initialized ]]; then
echo "First start, initializing default database at '/app/data'"
/usr/local/bin/gosu cloudron:cloudron /app/code/terminusdb/terminusdb store init
touch /app/data/.initialized
echo "Done."
fi
exec /usr/local/bin/gosu cloudron:cloudron /app/code/terminusdb/terminusdb serve