added gundb

This commit is contained in:
Fluffy9 2022-03-17 10:03:24 -04:00
parent fafef1f7f7
commit 7e5edeea03
No known key found for this signature in database
GPG Key ID: 2A281B25503D3492
2 changed files with 21 additions and 0 deletions

5
dc
View File

@ -26,6 +26,11 @@ for i in $(seq 1 ${#PORTAL_MODULES}); do
COMPOSE_FILES+=" -f docker-compose.mongodb.yml -f docker-compose.blocker.yml" COMPOSE_FILES+=" -f docker-compose.mongodb.yml -f docker-compose.blocker.yml"
fi fi
# gundb module - alias "g"
if [[ ${PORTAL_MODULES:i-1:1} == "g" ]]; then
COMPOSE_FILES+=" -f docker-compose.gun.yml"
fi
# jaeger module - alias "j" # jaeger module - alias "j"
if [[ ${PORTAL_MODULES:i-1:1} == "j" ]]; then if [[ ${PORTAL_MODULES:i-1:1} == "j" ]]; then
COMPOSE_FILES+=" -f docker-compose.jaeger.yml" COMPOSE_FILES+=" -f docker-compose.jaeger.yml"

16
docker-compose.gun.yml Normal file
View File

@ -0,0 +1,16 @@
version: "3.7"
x-logging: &default-logging
driver: json-file
services:
gun:
image: pupcakes/zenbase-integrated
container_name: gundb-relay
restart: unless-stopped
logging: *default-logging
expose:
- "8765:8765"
networks:
shared:
ipv4_address: 10.10.10.163