Skip to content

Conjunto de YAMLs com para subir contêineres de banco de dados com persistência.

Notifications You must be signed in to change notification settings

rafaelmartines/docker-compose-databases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Databases

I created this repository to easily have a docker-compose ready for each type of databases I use through my learning and career.

The databases you can find here are:

Setting up

On each folder you will find a file name .env.example create a new one by doing a copy and paste action or using a shell command like the Linux one right bellow:

cp .env.example .env

Change the database credentials and execute the command:

docker-compose up -d

Note

Just remember, for your applications have access to the database you can include the docker containers on the same network or just put the Host IP, in this case, your PC, to your database configuration files.

Warning

If you change the credentials on .env file and try to rebuild the docker, you need to remove the volume folders, since the credentials are stored there after you build the docker image, if you don't remove, the new credentials will not be applied.

About

Conjunto de YAMLs com para subir contêineres de banco de dados com persistência.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published