summaryrefslogtreecommitdiffstats
path: root/Services/mongo/docker-compose.yml
blob: 3c6a7909fca8319c5947cf7b1b91ee48676170c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
server:
  build: ./
#  image: sx-mongo
  container_name: "sx-mongo"
  mem_limit: 2g
  memswap_limit: 2g
  cpu_shares: 10
  restart: "on-failure:2"
  environment:
    CONTAINER_TYPE: "service"
    CONTAINER_SERVICE: "mongo"
    CONTAINER_INSTANCE: "sx-mongo"
  volumes:
    - "/tmp/container/logs/mongodb:/data/logs/mongodb"
    - "/tmp/container/mongodb:/data/mongodb"