UNPKG

generator-nest-js-boilerplate

Version:

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

30 lines (27 loc) 526 B
version: "3" services: app: build: context: . dockerfile: ./docker/App.Dockerfile container_name: app volumes: - ./:/var/www/app:cached - /var/www/app/node_modules # anonymous volume for node_modules only 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