https://github.com/code-egg/ansible-openlitespeed-docker
https://github.com/code-egg/ansible-openlitespeed-docker
ansible docker docker-compose openlitespeed
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/code-egg/ansible-openlitespeed-docker
- Owner: Code-Egg
- License: mit
- Created: 2020-02-26T14:46:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-31T08:54:56.000Z (almost 6 years ago)
- Last Synced: 2025-03-17T13:55:30.341Z (over 1 year ago)
- Topics: ansible, docker, docker-compose, openlitespeed
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Playbook for setting up OpenLiteSpeed Docker environment
## How to use
1. Install ansible on center server
```
apt update && apt install ansible -y
```
2. Add SSH key to the client server so center server can ssh in without password
3. Download the git repo
```
git clone https://github.com/Code-Egg/ansible-openlitespeed-docker.git
```
4. Update `example.com` from inventory to your client server's domain/IP
```
cd ansible-openlitespeed-docker; vi inventory
```
5. Run ansible playbook
```
ansible-playbook playbook.yml
```
## Next
Your client server now should has `docker`, `docker-compose` installed and https://github.com/litespeedtech/ols-docker-env downloaded to /opt/openlitespeed-docker.
Open a terminal, cd to the folder `/opt/openlitespeed-docker` in which docker-compose.yml is saved, and run:
```
docker-compose up -d
```
123456