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