Skip to content

Docker and Docker Compose files for an AdonisJS and MySQL application

Notifications You must be signed in to change notification settings

ShoneGT/docker-adonis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

adonisjs-docker

A template for adonisjs api + mysql in docker

The docker-compose file use vars from the adonisjs .env

Create .env file

Change host, db_connection in the .env file, create db_allow_empty_password and set it to yes (Setting this variable to yes is not recommended unless you really know what you are doing)

HOST=0.0.0.0

DB_HOST=adonis-mysql
DB_CONNECTION=mysql
DB_ALLOW_EMPTY_PASSWORD=yes

Start the environement :

docker-compose up -d

Enter in the nodejs container :

docker exec -it appname /bin/bash

About

Docker and Docker Compose files for an AdonisJS and MySQL application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published