Skip to content

NestJS Docker Easy Starter Kit - NestJS v10.x, MariaDB v10.11.x, phpMyAdmin v5.x

Notifications You must be signed in to change notification settings

refactorian/nestjs-typeorm-docker

Repository files navigation

Nest Logo

NestJS Docker Starter Kit

  • NestJS v10.x
  • TypeScript v5.x
  • MariaDB v10.11.x (default)
  • MySQL v8.1.x
  • phpMyAdmin v5.x
  • Postgres v16.x
  • pgAdmin v4.x
  • Adminer v4.8.x
  • Node.js v18.x
  • NPM v10.x

Requirements

How To Deploy

  • docker compose up -d

Notes

App

phpMyAdmin

  • URL: http://localhost:8080
  • Server: db
  • Username: refactorian
  • Password: refactorian
  • Database: refactorian

Adminer

  • URL: http://localhost:9090
  • Server: db
  • Username: refactorian
  • Password: refactorian
  • Database: refactorian

Docker compose commands

  • Build or rebuild services
    • docker compose build
  • Create and start containers
    • docker compose up -d
  • Stop and remove containers, networks
    • docker compose down
  • Stop all services
    • docker compose stop
  • Restart service containers
    • docker compose restart
  • Run a command inside a container
    • docker compose exec [container] [command]