Skip to content

andrey-helldar/docker-environment

Repository files navigation

Dev Environment for Docker

Docker Environment

List of services

  • MySQL
  • PostgreSQL + pgAdmin
  • Redis + WebUI
  • Elasticsearch
  • Mailpit

Installation & Settings

how to use

Or just click on this link.

Credentials

By default, the following credentials are used:

MYSQL_VERSION = latest
PGSQL_VERSION = latest
ELK_VERSION = 8.17.3

DB_DATABASE = default
DB_USERNAME = dev
DB_PASSWORD = dev

REDIS_WEBUI_CONNECT_HOST = redis
REDIS_WEBUI_CONNECT_PORT = 6379
REDIS_WEBUI_PORT = 9987

PGADMIN_VERSION = latest
PGADMIN_PORT = 5050
PGADMIN_DEFAULT_EMAIL = [email protected]
PGADMIN_DEFAULT_PASSWORD = dev

FORWARD_MAILPIT_PORT = 1025
FORWARD_MAILPIT_DASHBOARD_PORT = 8025

If you do not specify the path to the folder at the time of creation, then the repository is cloned to the default path:

  • ~/.docker/devenvironments for Unix
  • %USERPROFILE%\.docker\devenvironments\ for Windows

By default, Docker Dev Environments loads and starts all services. If you want to disable some services, then simply remove them in the Dev Environments tab in the Docker Desktop interface.

Update

To update containers, follow the following instructions:

  1. Go to the Dev Environments tab in Docker Desktop and stop the containers.

  2. Follow the console command by replacing the dev with the name of the group you specified. The name can be found in the `Dev Environments' tab.

    cd ~/.docker/devenvironments/dev/repository/
    git pull
  3. In the Dev Environments tab, click on the launch of containers.

    Note

    It is important to launch containers from this tab, and not with `Containers', since only this method will allow you to launch new containers.