diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index b720acc..ef6ece1 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -75,7 +75,7 @@ services: soft: 65536 hard: 65536 ports: - - '127.0.0.1:9200:9200' + - '127.0.0.1:{{ es_port }}:{{ es_port }}' {% endif %} web: diff --git a/templates/env.j2 b/templates/env.j2 index 4656e4b..d93fb42 100644 --- a/templates/env.j2 +++ b/templates/env.j2 @@ -67,8 +67,8 @@ DB_PORT=5432 REDIS_HOST={{ redis_host }} REDIS_PORT={{ redis_port }} -CACHE_REDIS_HOST=redis-volatile -CACHE_REDIS_PORT=6379 +CACHE_REDIS_HOST={{ redis_cache_host }} +CACHE_REDIS_PORT={{ redis_cache_port }} # elasticsearch ES_JAVA_OPTS=-Xms512m -Xmx512m