ansible-haproxy
Ansible role to set up (the latest version of) HAProxy in Ubuntu systems
파일 탐색기
최종 버전 다운로드 (.zip)- ci.yml
- release.yml
- main.yml
- empty
- main.yml
- main.yml
- collections.yml
- converge.yml
- molecule.yml
- prepare.yml
- verify.yml
- acl.yml
- certificates.yml
- configuration.yml
- install.yml
- letsencrypt.yml
- main.yml
- repository.yml
- acl.j2
- backend.cfg.j2
- cache.cfg.j2
- defaults.cfg.j2
- frontend.cfg.j2
- global.cfg.j2
- haproxy.cfg.j2
- listen.cfg.j2
- logforward.cfg.j2
- mailers.cfg.j2
- program.cfg.j2
- resolvers.cfg.j2
- rings.cfg.j2
- userlist.cfg.j2
- haproxy-letsencrypt-ocsp-deploy.j2
- haproxy-letsencrypt-ssl-deploy.j2
- _bionic.yml
- _default.yml
- main.yml
- inventory
- test.yml
- vagrant.yml
- main.yml
- .ansible-lint
- .gitignore
- .yamllint
- Dockerfile
- LICENSE.txt
- README.md
- requirements.yml
- Vagrantfile
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Oefenweb/ansible-haproxy
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd ansible-haproxy
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t ansible-haproxy .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 ansible-haproxy
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
