Skip to content

Commit 673ea2a

Browse files
committed
refactor: Improve project structure and documentation
1 parent 68cdf78 commit 673ea2a

4 files changed

Lines changed: 30 additions & 402 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Google Cloud Configuration
2+
GOOGLE_CLOUD_PROJECT="your-project-id"
3+
GOOGLE_APPLICATION_CREDENTIALS="path/to/service-account.json"
4+
5+
# ADK Configuration
6+
ADK_EVALUATION_ENABLED="true"
7+
8+
# Vertex AI Configuration (for enterprise features)
9+
VERTEX_AI_PROJECT_ID="your-project-id"
10+
VERTEX_AI_LOCATION="us-central1"

contributing/samples/security_agent/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ FROM python:3.11-slim
44
# Set the working directory in the container
55
WORKDIR /app
66

7+
# Create a non-root user
8+
RUN useradd --create-home appuser
9+
USER appuser
10+
711
# Copy the requirements file into the container at /app
812
COPY requirements.txt /app/
913

@@ -21,3 +25,4 @@ EXPOSE 8501
2125

2226
# Run the command to start the uvicorn server
2327
CMD ["sh", "-c", "python backend/main.py & streamlit run frontend/enhanced_security_agent_app.py --server.port 8501"]
28+

0 commit comments

Comments
 (0)