Skip to content

운영 및 개발 환경을 쉽게 설정하기 위한 Docker 및 K8s 관련 파일 모음 저장소

Notifications You must be signed in to change notification settings

DMS-SMS/v1-operations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V1-Operations

Getting Started

Installation

Development setup

  1. Clone the repo
    $ gh repo clone DMS-SMS/v1-operations
  2. Enter your SQL configuration in environment
    $ export MYSQL_ROOT_PASSWORD={SQL-PASSWORD}
  3. run
    3-1. on docker
    $ make -f db/Makefile mysql_docker # run mysql
    $ make -f registry/Makefile consul_docker # run consul
    $ make -f tracer/Makefile jaeger_docker # run jaeger
    $ make -f mongo/Makefile mongo_docker # run mongo
    $ make -f redis/Makefile redis_docker # run redis
    $ make -f elk/Makefile elk_dokcer # run elk
    3-2. on kubernetes
    # run mysql
    $ make -f db/Makefile mysql_service
    $ make -f db/Makefile mysql_volume
    $ make -f db/Makefile mysql_deploy
    
    # run consul
    $ make -f registry/Makefile consul_service
    $ make -f registry/Makefile consul_volume
    $ make -f registry/Makefile consul_deploy
    
    # run jaeger
    $ make -f tracer/Makefile jaeger_service
    $ make -f tracer/Makefile jaeger_deploy
    
    # run mongo
    $ make -f mongo/Makefile mongo_service
    $ make -f mongo/Makefile mongo_volume
    $ make -f mongo/Makefile mongo_deploy
    
    # run redis
    $ make -f redis/Makefile redis_service
    $ make -f redis/Makefile redis_deploy
    
    # run elk
    $ make -f elk/Makefile elk_service
    $ make -f elk/Makefile elk_volume
    $ make -f elk/Makefile elk_deploy 
    3-3. on docker swarm
    $ make -f db/Makefile mysql_stack # run mysql
    $ make -f registry/Makefile consul_stack # run consul
    $ make -f tracer/Makefile jaeger_stack # run jaeger
    $ make -f mongo/Makefile mongo_stack # run mongo
    $ make -f redis/Makefile redis_stack # run redis
    $ make -f elk/Makefile elasticsearch_stack
    $ make -f elk/Makefile elk_stack # run elk

About

운영 및 개발 환경을 쉽게 설정하기 위한 Docker 및 K8s 관련 파일 모음 저장소

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published