Convert all Memcached config to nested

Change-Id: I76f0d1201065a34942361d665635060579c0a131
This commit is contained in:
Yuriy Taraday 2016-10-04 14:41:39 +03:00
parent a61704cfee
commit 62a4e49f84
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,5 @@
configs:
memcached_addr: 0.0.0.0
memcached_port: 11211
memcached_ram: 256
memcached:
address: 0.0.0.0
port: 11211
ram: 256

View File

@ -1,7 +1,7 @@
service:
name: memcached
ports:
- {{ memcached_port }}
- {{ memcached.port }}
containers:
- name: memcached
image: memcached
@ -9,5 +9,5 @@ service:
readiness: "true"
liveness: "true"
daemon:
command: memcached -v -u memcached -l {{ memcached_addr }} -m {{ memcached_ram }}
command: memcached -v -u memcached -l {{ memcached.address }} -m {{ memcached.ram }}
user: memcached