Database

A MySQL Database is made available via this container.

This container is built from DockerHub using nails/docker-env-db

The Database container runs a MySQL database and is configured to create a default user as defined in docker-compose.override.yml.

By default you can connect to the database using the following credentials:

Property

Value

Host (inside web server container):

db

Host (outside web server container):

127.0.0.1

Username:

docker

Password:

docker

Port:

3306

Database:

dev

All database files are stored in ./docker/db/data so that your data will survive containers being removed.

Last updated

Was this helpful?