Issue 508 fix

This commit is contained in:
Mayuresh Nirhali
2025-09-02 22:54:33 +05:30
parent 29d5ff75a3
commit 95fb40eded
2 changed files with 42 additions and 11 deletions

View File

@@ -0,0 +1,38 @@
services:
# ============================================
# Core Infrastructure Services
# ============================================
# Redis - Caching Service
redis:
image: redis:alpine
container_name: redis
ports:
- "6379:6379"
networks:
- beckn_network
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
# Vault - Key Management Service
vault:
image: hashicorp/vault:latest
container_name: vault
cap_add:
- IPC_LOCK
ports:
- "8200:8200"
environment:
VAULT_DEV_ROOT_TOKEN_ID: root
VAULT_DEV_LISTEN_ADDRESS: 0.0.0.0:8200
command: server -dev -dev-root-token-id=root
networks:
- beckn_network
networks:
beckn_network:
name: beckn_network
driver: bridge

View File

@@ -18,19 +18,12 @@ if ! docker info > /dev/null 2>&1; then
fi fi
# Step 1: Run the Beckn network installer # Step 1: Run the Beckn network installer
echo -e "${YELLOW}Step 1: Setting up Beckn network services...${NC}" echo -e "${YELLOW}Step 1: Starting all Beckn ONIX adapter services...${NC}"
docker compose -f ./docker-compose-adapter.yml down 2>/dev/null
# Check if install directory exists docker compose -f ./docker-compose-adapter.yml up -d
#if [ ! -d "./install" ]; then
# echo -e "${RED}Error: install directory not found.${NC}"
# exit 1
#fi
# Make the installer executable # Make the installer executable
#chmod +x ./install/beckn-onix.sh #chmod +x ./beckn-onix.sh
# Navigate to install directory and run setup
#cd install
# Auto-select option 3 (local setup) for the installer # Auto-select option 3 (local setup) for the installer
#echo -e "${GREEN}Running local network setup...${NC}" #echo -e "${GREEN}Running local network setup...${NC}"