Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,15 @@ REFRESH_TOKEN_EXPIRATION_SECONDS=604800
# Auth Configuration (structured)
AUTH_JWT_SECRET=test-integration-secret-key-do-not-use-in-production
AUTH_JWT_EXPIRATION_SECONDS=3600
AUTH_REFRESH_TOKEN_EXPIRATION_SECONDS=604800
AUTH_REFRESH_TOKEN_EXPIRATION_SECONDS=604800

# Email SMTP Configuration - Gmail (commented for testing)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASSWORD=ksphdojlraidrbtb
[email protected]
FROM_NAME="Aerugo Registry"
SMTP_USE_TLS=true
EMAIL_TEST_MODE=false

119 changes: 117 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 22 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,15 @@ validator = { version = "0.16", features = ["derive"] }
url = { version = "2.4", features = ["serde"] }
envy = "0.4"

sqlx = { version = "0.7", features = ["runtime-tokio", "tls-native-tls", "postgres", "uuid", "chrono"] }
sqlx = { version = "0.7", features = [
"runtime-tokio",
"tls-native-tls",
"postgres",
"uuid",
"chrono",
] }
uuid = { version = "1.6", features = ["serde", "v4"] }
rand = "0.8"
argon2 = "0.5"
jsonwebtoken = "9.2"
thiserror = "1.0"
Expand All @@ -54,9 +61,22 @@ hyper-rustls = { version = "0.27.7", features = ["http2"] }
tokio-stream = "0.1.17"

# Performance optimization dependencies
redis = { version = "0.24", features = ["tokio-comp", "connection-manager", "script"] }
redis = { version = "0.24", features = [
"tokio-comp",
"connection-manager",
"script",
] }
moka = { version = "0.12", features = ["future"] }
metrics = "0.22"
metrics-prometheus = "0.6"
bb8-redis = "0.14"
indexmap = "2.11.1"

# Email dependencies
lettre = { version = "0.11", default-features = false, features = [
"tokio1",
"tokio1-rustls-tls",
"smtp-transport",
"builder",
"hostname",
] }
23 changes: 22 additions & 1 deletion Dockerfile.aerugo
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,32 @@ RUN chown -R aerugo:aerugo /app /usr/local/bin/aerugo
USER aerugo
EXPOSE 8080 5173

# Set default environment variables
ENV LISTEN_ADDRESS="0.0.0.0:8080"
ENV LOG_LEVEL="info"
ENV S3_ENDPOINT="http://host.docker.internal:9001"
ENV S3_BUCKET="aerugo-registry"
ENV S3_ACCESS_KEY="minioadmin"
ENV S3_SECRET_KEY="minioadmin"
ENV S3_REGION="us-east-1"
ENV REDIS_URL="redis://host.docker.internal:6379"
ENV JWT_SECRET="your-jwt-secret-change-in-production"
ENV API_PREFIX="/api/v1"
ENV S3_USE_PATH_STYLE="true"
ENV DATABASE_REQUIRE_SSL="false"
ENV DATABASE_MIN_CONNECTIONS="5"
ENV DATABASE_MAX_CONNECTIONS="20"
ENV REDIS_POOL_SIZE="10"
ENV REDIS_TTL_SECONDS="3600"
ENV JWT_EXPIRATION_SECONDS="3600"
ENV REFRESH_TOKEN_EXPIRATION_SECONDS="604800"

# Note: DATABASE_URL should be provided when running the container
# Example: docker run -e DATABASE_URL="your_database_url" aerugo:latest

# Health check - use simpler check to avoid auth issues
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD curl -f http://localhost:8080/docs || exit 1

CMD ["./start.sh"]
CMD ["/start.sh"]

1 change: 0 additions & 1 deletion app/Fe-AI-Decenter
Submodule Fe-AI-Decenter deleted from addde9
24 changes: 24 additions & 0 deletions app/Fe-AI-Decenter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Loading