Skip to content

CafuChino/chino-dev-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chino Dev Box

前后端开发(部署)环境一键docker

内置了支持json的Rejson版本的Redis, Haproxy负载均衡

内含:

  • Mysql:
    • localhost:3306
    • username: root
    • password: chino
  • PostgreSQL :
    • localhost:5432
    • username: chino
    • password: chino
  • MongoDB:
    • localhost:27017
    • username: root
    • password: chino
  • Mongo Express:
    • localhost:8081
    • username: root
    • password: chino
  • PgAdmin4:
  • Redis(rejson):
    • localhost:6379
  • Nginx:
    • localhost:80
  • Haproxy:
    • localhost:3002

配置

postgreSQL数据库初始化 sql 请放置在./postgreSQL/base.sql

postgreSQL数据初始化 sql 请放置在./postgreSQL/data.sql

mysql数据挂载点在./mysql/data

mysql配置文件位置在./mysql/config

静态文件请放置在./web

Nginx配置文件请放置在./nginx

Haproxy配置文件请放置在./haproxy

均衡的express-server的public目录请参考./expressPublic

启动

前台

docker-compose up
# or (newer version)
docker compose up

后台

docker-compose up -d

停止

docker-compose stop

如需重置开发环境

# Stop all container
host> docker-compose stop
# Remove stopped container (important!)
host> docker-compose rm -f
# Start all container
host> docker-compose up

Happy hacking! 😃

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages