docker-compose.yml

nws:
  restart: always
  image: "registry.colorv.cn:5000/nws:${CV_VERSION}"
  entrypoint: /bin/bash
  command: -c "cd /www/cvsocket && node bin/www >> /mnt/nws.log 2>&1"
  hostname: "${DOCKER_HOSTNAME}"
  working_dir: /www/cvsocket
  ports:
    - 8803:8803
  volumes:
    - ".:/mnt"
  extra_hosts:
    - "tapi-221:10.30.110.125"

你可能感兴趣的:(docker)