Add app data for terminusdb-app
This commit is contained in:
		
							
								
								
									
										25
									
								
								CloudronManifest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								CloudronManifest.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
{
 | 
			
		||||
  "id": "com.terminusdb.cloudronapp",
 | 
			
		||||
  "title": "TerminusDB",
 | 
			
		||||
  "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.1",
 | 
			
		||||
  "healthCheckPath": "/",
 | 
			
		||||
  "httpPort": 3000,
 | 
			
		||||
  "addons": {
 | 
			
		||||
  },
 | 
			
		||||
  "optionalSso": true,
 | 
			
		||||
  "memoryLimit": 1610612736,
 | 
			
		||||
  "manifestVersion": 2,
 | 
			
		||||
  "website": "https://terminusdb.com",
 | 
			
		||||
  "contactEmail": "support@clourdon.io",
 | 
			
		||||
  "icon": "",
 | 
			
		||||
  "tags": [ "graph database", "revision control" ],
 | 
			
		||||
  "mediaLinks": [],
 | 
			
		||||
  "postInstallMessage": "good luck",
 | 
			
		||||
  "minBoxVersion": "5.3.0",
 | 
			
		||||
  "documentationUrl": "https://terminusdb.com/docs/terminusdb/#/",
 | 
			
		||||
  "forumUrl": "https://forum.cloudron.io/",
 | 
			
		||||
  "changelog": "Initial build"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
 | 
			
		||||
 | 
			
		||||
ARG VERSION=4.2.0
 | 
			
		||||
 | 
			
		||||
WORKDIR /app/code
 | 
			
		||||
 | 
			
		||||
RUN curl -L https://github.com/terminusdb/terminusdb/releases/download/v${VERSION}/terminusdb_${VERSION}_amd64.deb -o terminusdb.deb \
 | 
			
		||||
	&& apt-get update \
 | 
			
		||||
	&& apt-get install  ./terminusdb.deb -y \
 | 
			
		||||
	&& apt-get clean \
 | 
			
		||||
	&& rm terminusdb.deb
 | 
			
		||||
 | 
			
		||||
COPY start.sh /app/code/start.sh
 | 
			
		||||
RUN chmod +x /app/code/start.sh
 | 
			
		||||
 | 
			
		||||
CMD start.sh
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										14
									
								
								start.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								start.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
set -eu
 | 
			
		||||
 | 
			
		||||
chown -R cloudron:cloudron /app/data
 | 
			
		||||
 | 
			
		||||
export TERMINUSDB_ADMIN_PASS=root
 | 
			
		||||
export TERMINUSDB_SERVER_PORT=3000
 | 
			
		||||
export TERMINUSDB_AUTOLOGIN=true
 | 
			
		||||
export TERMINUSDB_ENABLE_WELCOME_SCREEN=true
 | 
			
		||||
export TERMINUSDB_SERVER_DB_PATH=/app/data
 | 
			
		||||
 | 
			
		||||
exec /usr/local/bin/gosu cloudron:cloudron /usr/local/bin/terminusdb serve
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user