Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 438 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 438 Bytes

adonisjs-docker-compose

A template for adonisjs + mysql in docker

The docker-compose file use var in the adonisjs .env

Create .env.docker file

Change host in the .env.docker file

HOST=0.0.0.0

Start the environement :

docker-compose up

The step:

  • npm install
  • Copy .env file
  • Run migration
  • Run node server

Enter in the nodejs container :

docker exec -it appname-nodejs /bin/bash