Skip to content

Commit f15af15

Browse files
author
secus
committed
Fix: build Docker image with sqlx by preparing query cache (cargo sqlx prepare) and update webhooks handler for query compatibility
1 parent f6f5787 commit f15af15

51 files changed

Lines changed: 2830 additions & 284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.development

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ KUBERNETES_NAMESPACE=container-engine-dev
2121
# Domain Configuration
2222
DOMAIN_SUFFIX=vinhomes.co.uk
2323

24+
# Email Configuration - Mailtrap
25+
MAILTRAP_SMTP_HOST=live.smtp.mailtrap.io
26+
MAILTRAP_SMTP_PORT=587
27+
MAILTRAP_USERNAME=your_mailtrap_username
28+
MAILTRAP_PASSWORD=your_mailtrap_password
29+
EMAIL_FROM=noreply@vinhomes.co.uk
30+
EMAIL_FROM_NAME=Container Engine
31+
2432
# Logging
2533
RUST_LOG=container_engine=debug,tower_http=debug
2634
KUBECONFIG_PATH=./k8sConfig.yaml

.env.example

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ KUBERNETES_NAMESPACE=container-engine
2020
# Domain Configuration
2121
DOMAIN_SUFFIX=container-engine.app
2222

23+
# Email Configuration - Mailtrap Live SMTP
24+
MAILTRAP_SMTP_HOST=live.smtp.mailtrap.io
25+
MAILTRAP_SMTP_PORT=587
26+
MAILTRAP_USERNAME=your_mailtrap_username
27+
MAILTRAP_PASSWORD=your_mailtrap_password
28+
EMAIL_FROM=noreply@yourdomain.com
29+
EMAIL_FROM_NAME=Container Engine
30+
31+
# Webhook Configuration
32+
WEBHOOK_URL=https://your-webhook-endpoint.com/api/webhook/container-engine/events?api_key=your_api_key
33+
2334
# Logging
2435
RUST_LOG=container_engine=debug,tower_http=debug
2536
# Front end path

.sqlx/query-19945d2e23d4e54bcaafd212df71faecd762789418a15e68cedc88ef666fec8d.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-2cbdf5c505a0a7d65eb01c482a4ab9378701e7d675d45e4fcb7404aba853d589.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-32aa79a0a9654fa2e3acbbd0f6ed64c6ea32b916e841115921886c0049ee8958.json

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-38bba728896ac61542b8279a6b5a2f6740dfd3ac6b9264c5554429824338ccea.json

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-3f4d708c6810b85421669ada5f45b3a9730d85635ac5f63baa9e197895fd9005.json

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-5889f23a18bf32671c979a8a18261ab4ca9c7170290effe5f2461cb492c03fd2.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-6291008bd24d8a6f907e71c0040f604f96bdee291cda04d37fddff52d92e92a0.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-6319c10d4f5c165e2e3c5eeec8230922e2d15325d2cee9c73bd90c0be4cd3046.json

Lines changed: 71 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)