Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
8c9a64d6
Commit
8c9a64d6
authored
Sep 25, 2019
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redis ip
parent
a455b40e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
12 deletions
+39
-12
config/settings/base.py
config/settings/base.py
+0
-9
config/settings/dev.py
config/settings/dev.py
+9
-0
config/settings/local.py
config/settings/local.py
+9
-0
config/settings/production.py
config/settings/production.py
+9
-0
config/settings/uat.py
config/settings/uat.py
+9
-0
env.template.ini
env.template.ini
+3
-3
No files found.
config/settings/base.py
View file @
8c9a64d6
...
...
@@ -84,15 +84,6 @@ WSGI_APPLICATION = 'config.wsgi.application'
ASGI_APPLICATION
=
"config.routing.application"
CHANNEL_LAYERS
=
{
'default'
:
{
'BACKEND'
:
'channels_redis.core.RedisChannelLayer'
,
'CONFIG'
:
{
"hosts"
:
[(
'127.0.0.1'
,
6379
)],
},
},
}
AUTH_USER_MODEL
=
'entities.User'
# Password validation
...
...
config/settings/dev.py
View file @
8c9a64d6
...
...
@@ -9,6 +9,15 @@ config = configparser.ConfigParser()
config_file
=
os
.
path
.
join
(
'./'
,
'env.ini'
)
config
.
read
(
config_file
)
CHANNEL_LAYERS
=
{
'default'
:
{
'BACKEND'
:
'channels_redis.core.RedisChannelLayer'
,
'CONFIG'
:
{
"hosts"
:
[(
'172.17.0.1'
,
6379
)],
},
},
}
DATABASES
=
{
'default'
:
{
'ENGINE'
:
config
[
'DEV'
][
'DATABASE_ENGINE'
],
...
...
config/settings/local.py
View file @
8c9a64d6
...
...
@@ -7,6 +7,15 @@ config = configparser.ConfigParser()
config_file
=
os
.
path
.
join
(
BASE_DIR
,
'env.ini'
)
config
.
read
(
config_file
)
CHANNEL_LAYERS
=
{
'default'
:
{
'BACKEND'
:
'channels_redis.core.RedisChannelLayer'
,
'CONFIG'
:
{
"hosts"
:
[(
'127.0.0.1'
,
6379
)],
},
},
}
DATABASES
=
{
'default'
:
{
'ENGINE'
:
config
[
'LOCAL'
][
'DATABASE_ENGINE'
],
...
...
config/settings/production.py
View file @
8c9a64d6
...
...
@@ -9,6 +9,15 @@ config = configparser.ConfigParser()
config_file
=
os
.
path
.
join
(
'./'
,
'env.ini'
)
config
.
read
(
config_file
)
CHANNEL_LAYERS
=
{
'default'
:
{
'BACKEND'
:
'channels_redis.core.RedisChannelLayer'
,
'CONFIG'
:
{
"hosts"
:
[(
'172.17.0.1'
,
6379
)],
},
},
}
DATABASES
=
{
'default'
:
{
'ENGINE'
:
config
[
'PRODUCTION'
][
'DATABASE_ENGINE'
],
...
...
config/settings/uat.py
View file @
8c9a64d6
...
...
@@ -9,6 +9,15 @@ config = configparser.ConfigParser()
config_file
=
os
.
path
.
join
(
'./'
,
'env.ini'
)
config
.
read
(
config_file
)
CHANNEL_LAYERS
=
{
'default'
:
{
'BACKEND'
:
'channels_redis.core.RedisChannelLayer'
,
'CONFIG'
:
{
"hosts"
:
[(
'172.17.0.1'
,
6379
)],
},
},
}
DATABASES
=
{
'default'
:
{
'ENGINE'
:
config
[
'UAT'
][
'DATABASE_ENGINE'
],
...
...
env.template.ini
View file @
8c9a64d6
...
...
@@ -11,7 +11,7 @@ AUTH_ACCESSS_TOKEN_TIMEOUT =
USER_DEFAULT_PASSWORD =
CATCH_EMAIL
=
gladys@tirsolutions.com
CR_LINK
=
http://staging.rms.oneberrysystem.com/cms/change-request/form/view
REALTIMESERVER_IP
=
1
72.17.0.1:6379
REALTIMESERVER_IP
=
1
27.0.0.1:8000
[UAT]
DATABASE_ENGINE
=
django.db.backends.mysql
...
...
@@ -26,7 +26,7 @@ AUTH_ACCESSS_TOKEN_TIMEOUT =
USER_DEFAULT_PASSWORD =
CATCH_EMAIL
=
gladys@tirsolutions.com
CR_LINK
=
http://staging.rms.oneberrysystem.com/cms/change-request/form/view
REALTIMESERVER_IP
=
1
72.17.0.1:6379
REALTIMESERVER_IP
=
1
27.0.0.1:8000
[DEV]
DATABASE_ENGINE
=
django.db.backends.mysql
...
...
@@ -41,7 +41,7 @@ AUTH_ACCESSS_TOKEN_TIMEOUT =
USER_DEFAULT_PASSWORD =
CATCH_EMAIL
=
gladys@tirsolutions.com
CR_LINK
=
http://devweb.rms.oneberrysystem.com/cms/change-request/form/view
REALTIMESERVER_IP
=
1
72.17.0.1:6379
REALTIMESERVER_IP
=
1
27.0.0.1:8000
[LOCAL]
DATABASE_ENGINE
=
django.db.backends.mysql
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment