server: build: ./ container_name: "memcache-server" mem_limit: 2g memswap_limit: 3g cpu_shares: 2 restart: "on-failure:2" environment: CONTAINER_TYPE: "service" CONTAINER_SERVICE: "memcache" CONTAINER_INSTANCE: "service-memcache" volumes: - "/tmp/container/logs/memcache:/data/logs/memcache"