Skip to content

Commit

Permalink
Added Lambda config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vincue committed Dec 27, 2021
1 parent 800cc7d commit ed01928
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ EMAIL_HOST_PASSWORD=""
## LAMBDA
DETECTION_SERVICE_PLATFORM=""
AWS_LAMBDA_URL=""
## AWS_LAMBDA_URL=https://asdf3adf9.execute-api.<YOUR_AWS_REGION>.amazonaws.com/default/testCueobserveAnomalyDetection
1 change: 1 addition & 0 deletions .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ EMAIL_HOST_PASSWORD=""
## LAMBDA
DETECTION_SERVICE_PLATFORM=""
AWS_LAMBDA_URL=""
## AWS_LAMBDA_URL=https://asdf3adf9.execute-api.<YOUR_AWS_REGION>.amazonaws.com/default/testCueobserveAnomalyDetection
Empty file modified aws_lambda_setup.sh
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ services:
IS_AUTHENTICATION_REQUIRED: ${IS_AUTHENTICATION_REQUIRED}
REDIS_BROKER_URL: ${REDIS_BROKER_URL}
CELERY_RESULT_BACKEND: ${CELERY_RESULT_BACKEND}
DETECTION_SERVICE_PLATFORM:
AWS_LAMBDA_URL:
volumes:
- sqliteDB:/code/db:rw
- djangoStaticFiles:/home/staticfiles:rw
Expand All @@ -41,7 +43,7 @@ services:
- "cueo-backend"
- "cueo-redis"
volumes:
- djangoStaticFiles:/home/staticfiles:rw
- djangoStaticFiles:/home/staticfiles:ro

cueo-redis:
image: redis
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ services:
DJANGO_SUPERUSER_EMAIL: ${DJANGO_SUPERUSER_EMAIL}
IS_AUTHENTICATION_REQUIRED: ${IS_AUTHENTICATION_REQUIRED}
CELERY_RESULT_BACKEND: ${CELERY_RESULT_BACKEND}
REDIS_BROKER_URL:
DETECTION_SERVICE_PLATFORM:
AWS_LAMBDA_URL:
REDIS_BROKER_URL: ${REDIS_BROKER_URL}
DETECTION_SERVICE_PLATFORM: ${DETECTION_SERVICE_PLATFORM}
AWS_LAMBDA_URL: ${AWS_LAMBDA_URL}
volumes:
- sqliteDB:/code/db:rw
- djangoStaticFiles:/home/staticfiles:rw
Expand Down

0 comments on commit ed01928

Please sign in to comment.