docker-compose는 docker-compose.yml 이라는 Compose 정의 파일에 시스템 안에서 가동하는 여러 서버들의 구성을 모아서 정의함 이정의 파일은 YAML 형식으로 기술 레퍼런스: https://docs.docker.com/compose/compose-file/ docker-compose.yml 정의 예제 # 버전을 지정(현재 메이저 최신 버전) version: "3" # 서비스 정의 services: webserver: image: ubuntu ports: - "80:80" networks: - webnet redis: image: redis networks: - webnet # 네트워크 정의 networks: webnet: # 데이터 볼륨 정의 volumes: data-volu..
1. 도커 이미지 자동 배포하기 지속적 통합 및 전달( CI/CD) CI - CONTINUOUS Integration CD - CONTINUOUS Delivery 개발 서비스는 빠르고 효과적으로 서비스를 출시하기 위해 지속적인 소스의 관리와 통합과 빌드 그리고 테스트를 하고 배포하는 과정이 피요하다. CI는 테스트 및 빌드까지의 과정을 말하고 CD는 전달 및 배포까지 포함하는 과정을 말한다. 자동화 소스 저장소에 최신의 소스를 저장 전체소스를 다운로드 테스트 Docker 이미지 생성 Docker 이미지 저장 어플리케이션 업데이트 자동화 도구 Jenkins GitLab CI/CD TravisCI CircleCI 그외의 다양한 도구들 실습 샘플소스 : https://github.com/subicura/doc..
1. 컨테이너를 이미지로 저장하기 더보기 특정 프로세스를 실행하기 위한 환경 계층화된 파일 시스템 이미지는 파일들의 집합 프로세스가 실행되는 환경도 결국 파일들의 집합 2. 이미지 제작 더보기 Base Image 생성 Container에 Git설치 Git이 설치된 컨텐이너를 커스텀 이미지로 저장 3. Container 작업내용 초기화 컨테이너를 실행하고 파일을 생성한뒤 exit로 빠져나가면 생성된 파일이 모두 사라짐 $ docker run -it ubuntu:latest bash $ cd root $ touch a.txt b.txt c.txt $ exit $ $ docker run -it ubuntu:latest bash 4. Git 설치 설치 $ docker run -it ubuntu:latest /b..
1. Docker 설치 $ curl -s https://get.docker.com/ | sudo sh 2. Docker 그룹 추가 $ cat /etc/group $ sudo usermod -aG docker $USER $ sudo service docker restart 3. Dockerfile 참고 : jaystevency.tistory.com/20 [Docker] #1 Docker를 이용해 나만의 서버 환경 구성하기 Docker 실습 환경 Dev OS : Mac OS Sierra Terminal : iTerm 본 포스팅은 Docker networking 설정으로 Docker 컨테이너(?) 끼리 네트워크 환경을 구성합니다. 기본적인 Docker의 활용은 박재성님의 Docker 유튜브.. jaysteve..
1. docker cli dashboard - DCS Git Hub https://github.com/goody80/docker_cli_dashboard ralfyang/docker_cli_dashboard CLI mode dashboard for Docker. Contribute to ralfyang/docker_cli_dashboard development by creating an account on GitHub. github.com 설치 방법 및 사용법 https://asciinema.org/a/166084 How to use docker cli dashboard(dcs) https://github.com/ralfyang/docker_cli_dashboard asciinema.org 설치 curl..
1. Repo 설정 설정 방법 : downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro_release=focal--ubuntu_focal&mirror=yongbok MariaDB - Setting up MariaDB Repositories - MariaDB To generate the entries select an item from each of the boxes below. Once an item is selected in each box, your customized repository configuration will appear below. 1. Choose a Distro SLES openSUSE Arch Linux Mageia F..
# this is only for the mysqld standalone daemon [mysqld] # GENERAL default_storage_engine = InnoDB datadir = /data/var/mariadb-data tmpdir = /data/var/mariadb-data/tmp explicit_defaults_for_timestamp lower_case_table_names = 1 ###chracter character-set-client-handshake=FALSE init_connect = SET collation_connection = utf8_general_ci init_connect = SET NAMES utf8 character-set-server = utf8 collat..
- Total
- Today
- Yesterday
- Intellj들여쓰기
- 마이바티스CamelCase
- SSL
- letsencrypt
- Letsencrypt wildcard auto renew
- Letsencrypt wildcard
- Letsencrypt+nginx
- 마이바티스
- camelcase
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |