A simple node server that returns the IP address of the computer that sends it a request.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 286B

12345678910111213141516
  1. version: '3.1'
  2. services:
  3. node:
  4. build:
  5. context: .
  6. args:
  7. - NODE_ENV=development
  8. - PORT=3060
  9. volumes:
  10. - ./src:/home/node/app/src
  11. ports:
  12. - "3060:3060"
  13. environment:
  14. - "NODE_ENV=development"
  15. command: ["nodemon", "bin/www"]