Skip to content

Commit 262a64b

Browse files
committed
Add AWS config variables on settings.py
1 parent d121b78 commit 262a64b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

project/opencvFaceRec/settings.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@
187187
#'CELERY_ALWAYS_EAGER': True,
188188
}
189189

190+
191+
# AWS S3 credentials
192+
AWS_ACCESS_KEY_ID =
193+
AWS_SECRET_ACCESS_KEY =
194+
AWS_BUCKET_NAME =
195+
196+
197+
# Django Social tool to perform SSO
190198
SOCIAL_AUTH_TRAILING_SLASH = False
191199

192200
SOCIAL_AUTH_AUTH0_DOMAIN = os.getenv('AUTH0_DOMAIN')
@@ -203,8 +211,7 @@
203211
CORS_ALLOW_CREDENTIALS = False
204212

205213
# Service where Automatic Annotation Tools sends the generated data
206-
#EXT_SERVICE = 'http://83.212.102.18:8001'
207-
EXT_SERVICE = 'http://ec2-34-248-183-236.eu-west-1.compute.amazonaws.com:8080/nuxeo/api/v1/id/'
214+
EXT_SERVICE = 'http://83.212.102.18:8001/'
208215
import base64
209216
EXT_BASIC_AUTH = base64.b64encode('USERNAME:PASSWORD')
210217

0 commit comments

Comments
 (0)