Commit 0409dd53 authored by carlosribas's avatar carlosribas
Browse files

Use the default memcached port

parent 6840278c
......@@ -46,8 +46,8 @@ services:
memcached:
image: memcached:1.6.7-alpine
ports:
- 8052:8052
command: memcached -m 512m -p 8052
- 11211:11211
command: memcached -m 512m
depends_on:
- rnacentral
networks:
......
......@@ -58,8 +58,8 @@ services:
memcached:
image: memcached:1.6.7-alpine
ports:
- 8052:8052
command: memcached -m 512m -p 8052
- 11211:11211
command: memcached -m 512m
depends_on:
- rnacentral
networks:
......
......@@ -49,7 +49,7 @@ else
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"LOCATION": "memcached:8052",
"LOCATION": "memcached:11211",
},
"sitemaps": {
"BACKEND": "rnacentral.utils.cache.SitemapsCache",
......
......@@ -8,7 +8,7 @@ proxy: proxy-hh
searchIndex: search-index-prod
# Memcached
memcachedPort: 8052
memcachedPort: 11211
memcachedReplicas: 2
memcachedRequestsMemory: "2048Mi"
memcachedRequestsCPU: "500m"
......
......@@ -317,7 +317,7 @@ MAINTENANCE_MODE = False
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'localhost:8052',
'LOCATION': 'localhost:11211',
},
'sitemaps': {
'BACKEND': 'rnacentral.utils.cache.SitemapsCache',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment