0e453c1bd9
The default max memory is 64MB, which is too small for production environment. Change-Id: I72d87cd29762fe49ae4f711f092df655cea954a9 Closes-Bug: #1758286
29 lines
887 B
YAML
29 lines
887 B
YAML
---
|
|
project_name: "memcached"
|
|
|
|
memcached_services:
|
|
memcached:
|
|
container_name: "memcached"
|
|
image: "{{ memcached_image_full }}"
|
|
enabled: true
|
|
group: "memcached"
|
|
volumes:
|
|
- "{{ node_config_directory }}/memcached/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
memcached_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-memcached"
|
|
memcached_tag: "{{ openstack_release }}"
|
|
memcached_image_full: "{{ memcached_image }}:{{ memcached_tag }}"
|
|
|
|
####################
|
|
# Memcached options
|
|
####################
|
|
memcached_connection_limit: "5000"
|
|
# NOTE(jeffrey4l): max memory to use for items in megabytes. default is 64MB,
|
|
# which is too small for production environment.
|
|
memcached_max_memory: "256"
|