summaryrefslogtreecommitdiffstats
path: root/Services/memcache/docker-compose.yml
blob: 792dc6c79a8c06f96c75ae1ab240bd104f4f2021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
server:
  build: ./
#  image: sv-memcache
  container_name: "memcache-server"
  mem_limit: 1g
  memswap_limit: 1g
  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"
    - "/tmp/container/memcache:/data/memcache"