This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
3 changed files with
37 additions and
0 deletions
|
|
|
@ -26,6 +26,11 @@ for i in $(seq 1 ${#PORTAL_MODULES}); do
|
|
|
|
|
COMPOSE_FILES+=" -f docker-compose.mongodb.yml -f docker-compose.blocker.yml"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# gundb module - alias "g"
|
|
|
|
|
if [[ ${PORTAL_MODULES:i-1:1} == "g" ]]; then
|
|
|
|
|
COMPOSE_FILES+=" -f docker-compose.gundb.yml"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# jaeger module - alias "j"
|
|
|
|
|
if [[ ${PORTAL_MODULES:i-1:1} == "j" ]]; then
|
|
|
|
|
COMPOSE_FILES+=" -f docker-compose.jaeger.yml"
|
|
|
|
|
|
|
|
@ -0,0 +1,23 @@
|
|
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
|
|
x-logging: &default-logging
|
|
|
|
|
driver: json-file
|
|
|
|
|
options:
|
|
|
|
|
max-size: "10m"
|
|
|
|
|
max-file: "3"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
gun:
|
|
|
|
|
image: skynetlabs/gundb-relay
|
|
|
|
|
container_name: gundb-relay
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging: *default-logging
|
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
environment:
|
|
|
|
|
- PORTAL=http://${SERVER_DOMAIN}
|
|
|
|
|
expose:
|
|
|
|
|
- "8765:8765"
|
|
|
|
|
networks:
|
|
|
|
|
shared:
|
|
|
|
|
ipv4_address: 10.10.10.163
|
|
|
|
@ -164,6 +164,15 @@ location /skynet/restore {
|
|
|
|
|
proxy_pass http://sia:9980;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location /gundb {
|
|
|
|
|
include /etc/nginx/conf.d/include/cors;
|
|
|
|
|
|
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
|
proxy_set_header Connection "Upgrade";
|
|
|
|
|
|
|
|
|
|
proxy_pass http://10.10.10.163:8765/gun;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location /skynet/registry/subscription {
|
|
|
|
|
include /etc/nginx/conf.d/include/cors;
|
|
|
|
|
|
|
|
|
|