Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The simplest way to set up a local environment for development.

NotificationsYou must be signed in to change notification settings

TatChu/local-infrastructure-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

A simple code for setup a local environment for development.

Prerequisite

Just ensure that you have docker installed on your computer.

How to run

To start all services:docker-compose up -d

To start specific services relevant to your tech stack:docker-compose up -d postgres

How to custom your own configurations

Create a.env in the root folder and override your custom value. Seeavailable variables below.

Available infrastructure

  • MongoDB (root/Pass@word)|docker-compose up -d mongodb
  • Postgres (postgres/postgres) |docker-compose up -d postgres-plv8
  • Redis |docker-compose up -d redis
  • MSSQL (sa/Pass@word) |docker-compose up -d mssql
  • Mysql (root/Pass@word) | Adminer |docker-compose up -d mysql mysql-adminer
  • Mailhog |docker-compose up -d mailhog
  • RabbitMq |docker-compose up -d rabbitmq rabbitmq_management... and waiting for your contribute.

Available environment variables

  1. Postgres
  • Ports
    • Default: 5432
Variable nameDefault value
POSTGRES_DBpostgres
POSTGRES_USERpostgres
POSTGRES_PASSWORDpassword1
  1. Microsoft SQL Server
  • Ports
    • Default: 1433
Variable nameDefault value
MSSQL_SA_PASSWORDPass@word
  1. Redis
  • Ports
    • Default: 6379
Variable nameDefault value
ALLOW_EMPTY_PASSWORDyes
REDIS_DISABLE_COMMANDSFLUSHDB,FLUSHALL
  1. Mysql / mysql-adminer
  • Default account: root/Pass@word
  • Ports
    • DB Server: 3306
    • Adminer: 8080
Variable nameDefault value
MYSQL_ROOT_PASSWORDPass@word
  1. MongoDB
Variable nameDefault value
MONGO_ROOT_PASSWORDPass@word
  1. MailHog
  • Ports

    • Web UI: 8025
    • SMTP: 465
  1. RabbitMq
  • Account: guest/guest
  • Ports
    • Server: 5672
    • Management tool: 15672

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp