Skip to content

Commit

Permalink
Merge pull request #722 from tegaomare/vespa-app-compose
Browse files Browse the repository at this point in the history
vespa docker compose app created
  • Loading branch information
qiaofeng1227 authored Oct 14, 2024
2 parents 9f5b9e6 + 42b788b commit 966bde9
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/vespa/.env
Original file line number Diff line number Diff line change
@@ -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

5 changes: 5 additions & 0 deletions apps/vespa/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/vespa/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# vespa
40 changes: 40 additions & 0 deletions apps/vespa/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
3 changes: 3 additions & 0 deletions apps/vespa/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
19 changes: 19 additions & 0 deletions apps/vespa/variables.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 966bde9

Please sign in to comment.