UNPKG

generator-nest-js-boilerplate

Version:

This generator will help you to build your own Nest.js Mongodb API using TypeScript 4

31 lines (28 loc) 522 B
version: "3" services: app: build: context: . dockerfile: ./docker/App.Dockerfile container_name: app command: bash -c "npm run start:dev" working_dir: /var/www/app volumes: - ./:/var/www/app:cached restart: always ports: - 3000:3000 links: - mongodb - redis mongodb: container_name: mongodb image: mongo:latest restart: always ports: - 27017:27017 redis: image: redis:6 restart: always ports: - 6379:6379