From 42b788b5304b4b91183f7560dbf58d5adc91ab69 Mon Sep 17 00:00:00 2001 From: tegaomare Date: Mon, 14 Oct 2024 19:51:21 -0400 Subject: [PATCH] vespa docker compose app created --- apps/vespa/.env | 9 ++++++++ apps/vespa/CHANGELOG.md | 5 +++++ apps/vespa/Notes.md | 1 + apps/vespa/docker-compose.yml | 40 +++++++++++++++++++++++++++++++++++ apps/vespa/src/README.md | 3 +++ apps/vespa/variables.json | 19 +++++++++++++++++ 6 files changed, 77 insertions(+) create mode 100644 apps/vespa/.env create mode 100644 apps/vespa/CHANGELOG.md create mode 100644 apps/vespa/Notes.md create mode 100644 apps/vespa/docker-compose.yml create mode 100644 apps/vespa/src/README.md create mode 100644 apps/vespa/variables.json diff --git a/apps/vespa/.env b/apps/vespa/.env new file mode 100644 index 000000000..9b2b7ff8f --- /dev/null +++ b/apps/vespa/.env @@ -0,0 +1,9 @@ +W9_VERSION=latest +W9_ID=vespa +W9_REPO=vespaengine/vespa +W9_NETWORK=websoft9 + +# Port configurations +W9_HTTP_PORT=19071 +W9_HTTP_PORT_SET=19071 + diff --git a/apps/vespa/CHANGELOG.md b/apps/vespa/CHANGELOG.md new file mode 100644 index 000000000..09c4e7bd0 --- /dev/null +++ b/apps/vespa/CHANGELOG.md @@ -0,0 +1,5 @@ +# CHANGELOG + +## Release + +### Fixes and Enhancements diff --git a/apps/vespa/Notes.md b/apps/vespa/Notes.md new file mode 100644 index 000000000..20c52464b --- /dev/null +++ b/apps/vespa/Notes.md @@ -0,0 +1 @@ +# vespa diff --git a/apps/vespa/docker-compose.yml b/apps/vespa/docker-compose.yml new file mode 100644 index 000000000..830dc0df9 --- /dev/null +++ b/apps/vespa/docker-compose.yml @@ -0,0 +1,40 @@ +# image: https://hub.docker.com/r/vespaengine/vespa +# doc: https://github.com/vespa-engine/vespa + +version: '3.8' + +services: + vespa: + image: $W9_REPO:$W9_VERSION + container_name: $W9_ID + hostname: vespa-app + command: services + depends_on: + - configserver + volumes: + - vespa-data:/var/lib/vespa + environment: + VESPA_CONFIGSERVERS: vespa-config-server + + restart: unless-stopped + + configserver: + image: $W9_REPO:$W9_VERSION + container_name: $W9_ID-config-server + hostname: vespa-config-server + command: configserver + ports: + - $W9_HTTP_PORT_SET:19071 + volumes: + - vespa-config:/etc/vespa + environment: + VESPA_CONFIGSERVERS: vespa-config-server + +networks: + default: + name: ${W9_NETWORK} + external: true + +volumes: + vespa-config: + vespa-data: diff --git a/apps/vespa/src/README.md b/apps/vespa/src/README.md new file mode 100644 index 000000000..cdbd7a0b9 --- /dev/null +++ b/apps/vespa/src/README.md @@ -0,0 +1,3 @@ +# About + +This folder includes files mount to container and used by Websoft9 diff --git a/apps/vespa/variables.json b/apps/vespa/variables.json new file mode 100644 index 000000000..dcd550ad6 --- /dev/null +++ b/apps/vespa/variables.json @@ -0,0 +1,19 @@ +{ + "name": "vespa", + "trademark": "Vespa", + "release": true, + "fork_url": "https://github.com/vespa-engine/vespa", + "docker_url": "https://github.com/vespa-engine/vespa", + "edition": [ + { + "dist": "community", + "version": ["latest"] + } + ], + "requirements": { + "cpu": "2", + "memory": "8", + "disk": "128", + "url": "https://github.com/vespa-engine/docker-image-dev#vespa-development-on-almalinux-8" + } + } \ No newline at end of file