Skip to content

Commit

Permalink
Merge pull request #721 from tegaomare/weaviate-docuseal-app-compose
Browse files Browse the repository at this point in the history
weaviate & docuseal compose app created
  • Loading branch information
qiaofeng1227 authored Oct 12, 2024
2 parents eb92c48 + b7d3bc8 commit 9f5b9e6
Show file tree
Hide file tree
Showing 13 changed files with 174 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions apps/docuseal/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
W9_REPO=docuseal/docuseal
W9_VERSION=latest
W9_ID=docuseal
W9_POWER_PASSWORD=urtghkikljee9u
W9_NETWORK=websoft9


# Port Configuration
W9_HTTP_PORT=3000
W9_HTTP_PORT_SET=3000

#Docuseal Configuration
DATABASE_URL=postgresql://docuseal:$W9_POWER_PASSWORD:5432/docuseal
5 changes: 5 additions & 0 deletions apps/docuseal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

## Release

### Fixes and Enhancements
1 change: 1 addition & 0 deletions apps/docuseal/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# DocuSeal
47 changes: 47 additions & 0 deletions apps/docuseal/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# image: https://hub.docker.com/r/docuseal/docuseal
# docs: https://github.com/docusealco/docuseal
# compose: https://github.com/docusealco/docuseal/blob/master/docker-compose.yml

version: '3.8'

services:
docuseal:
container_name: $W9_ID
image: $W9_REPO:$W9_VERSION
depends_on:
postgres:
condition: service_healthy
ports:
- $W9_HTTP_PORT_SET:3000
volumes:
- docuseal_data:/data/docuseal

restart: unless-stopped

postgres:
container_name: $W9_ID-postgres
image: postgres:15
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: docuseal
POSTGRES_PASSWORD: $W9_POWER_PASSWORD
POSTGRES_DB: docuseal

healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
restart: unless-stopped


volumes:
docuseal_data:
postgres_data:


networks:
default:
name: ${W9_NETWORK}
external: true
3 changes: 3 additions & 0 deletions apps/docuseal/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

This folder includes files mount to container and used by Websoft9
21 changes: 21 additions & 0 deletions apps/docuseal/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "docuseal",
"trademark": "DocuSeal",
"release": true,
"fork_url": "https://github.com/docusealco/docuseal",
"docker_url": "https://hub.docker.com/r/docuseal/docuseal",
"edition": [
{
"dist": "community",
"version": [
"latest"
]
}
],
"requirements": {
"cpu": "2",
"memory": "4",
"disk": "6",
"url": "https://www.docuseal.co/docs/on-premises-server-requirements"
}
}
10 changes: 10 additions & 0 deletions apps/weaviate/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
W9_ID=weaviate
W9_VERSION=1.26.6
W9_DIST=community
W9_NETWORK=websoft9

# Port Configuration
W9_HTTP_PORT=8080
W9_HTTP_PORT_SET=8080


5 changes: 5 additions & 0 deletions apps/weaviate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

## Release

### Fixes and Enhancements
1 change: 1 addition & 0 deletions apps/weaviate/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Weaviate
42 changes: 42 additions & 0 deletions apps/weaviate/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# image: https://hub.docker.com/r/semitechnologies/weaviate
# doc: https://weaviate.io/developers/weaviate

version: '3.8'

services:
weaviate:
container_name: $W9_ID
image: cr.weaviate.io/semitechnologies/weaviate:$W9_VERSION
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
ports:
- $W9_HTTP_PORT_SET:8080

volumes:
- weaviate_data:/var/lib/weaviate
restart: unless-stopped
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ENABLE_API_BASED_MODULES: 'true'
CLUSTER_HOSTNAME: 'node1'
env_file:
- .env

volumes:
weaviate_data:


networks:
default:
name: ${W9_NETWORK}
external: true


3 changes: 3 additions & 0 deletions apps/weaviate/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

This folder includes files mount to container and used by Websoft9
23 changes: 23 additions & 0 deletions apps/weaviate/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "weaviate",
"trademark": "Weaviate",
"release": true,
"fork_url": "https://github.com/semi-technologies/weaviate",
"docker_url": "https://hub.docker.com/r/semitechnologies/weaviate",
"edition": [
{
"dist": "community",
"version": [
"1.26.6",
"latest"
]
}
],
"requirements": {
"cpu": "2",
"memory": "4",
"disk": "10",
"url": "https://weaviate.io/developers/weaviate/current/"
}
}

0 comments on commit 9f5b9e6

Please sign in to comment.