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