Skip to content

Commit

Permalink
build: zep
Browse files Browse the repository at this point in the history
  • Loading branch information
okradze committed Nov 23, 2023
1 parent e7cbe56 commit eb4339c
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 69 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy_zep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and deploy Python app to Azure Web App - l3-zep-dev

on:
push:
branches:
- main
paths:
- "zep/**"
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
needs: build

environment:
name: "production"
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- name: "Deploy to Azure Web App"
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: "l3-zep-dev"
slot-name: "production"
publish-profile: ${{ secrets.AzureAppService_PublishProfile_5aa592a5843d47f5ab6d78132942a60f }}
images: ghcr.io/getzep/zep-cloud:0.19,ghcr.io/getzep/zep-nlp-server:0.4.1
69 changes: 0 additions & 69 deletions .github/workflows/main_l3-zep-dev.yml

This file was deleted.

25 changes: 25 additions & 0 deletions zep/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: "3.8"

services:
zep_cloud:
image: ghcr.io/getzep/zep-cloud:0.19
restart: on-failure
ports:
- "8000:8000"
environment:
- PORT=8000
- ZEP_SERVER_WEB_ENABLED=true

zep_nlp:
image: ghcr.io/getzep/zep-nlp-server:0.4.1
env_file:
- .env
restart: on-failure
healthcheck:
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/5557' || exit 1
interval: 10s
timeout: 5s
retries: 5
start_period: 45s
ports:
- "5557:5557"

0 comments on commit eb4339c

Please sign in to comment.