mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
update readme
This commit is contained in:
@@ -10,20 +10,22 @@ Install a Lightweight WordPress container with OpenLiteSpeed [Edge / Stable] ver
|
|||||||
### Prerequisites
|
### Prerequisites
|
||||||
1. [Install Docker](https://www.docker.com/)
|
1. [Install Docker](https://www.docker.com/)
|
||||||
2. [Install Docker Compose](https://docs.docker.com/compose/)
|
2. [Install Docker Compose](https://docs.docker.com/compose/)
|
||||||
3. Clone this repository or copy the files from this repository into a new folder:
|
|
||||||
```
|
|
||||||
git clone https://github.com/litespeedtech/ols-docker-env.git
|
|
||||||
```
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
Edit the `.env` file to update the demo site domain, default MySQL user, and password.
|
Edit the `.env` file to update the demo site domain, default MySQL user, and password.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
Clone this repository or copy the files from this repository into a new folder:
|
||||||
|
```
|
||||||
|
git clone https://github.com/litespeedtech/ols-docker-env.git
|
||||||
|
```
|
||||||
Open a terminal, `cd` to the folder in which `docker-compose.yml` is saved, and run:
|
Open a terminal, `cd` to the folder in which `docker-compose.yml` is saved, and run:
|
||||||
```
|
```
|
||||||
docker-compose up
|
docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note: If you wish to run a single web server container, please check [Usage method here](https://github.com/litespeedtech/ols-dockerfiles#usage).
|
||||||
|
|
||||||
## Components
|
## Components
|
||||||
The docker image installs the following packages on your system:
|
The docker image installs the following packages on your system:
|
||||||
|
|
||||||
@@ -131,6 +133,7 @@ We need to run amce installation command at **first time only**.
|
|||||||
```
|
```
|
||||||
./bin/acme.sh [--install|-i] [--no-email|-ne]
|
./bin/acme.sh [--install|-i] [--no-email|-ne]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Applying a Let's Encrypt Certificate
|
### Applying a Let's Encrypt Certificate
|
||||||
Use the root domain in this command, and it will check for a certificate and automatically apply one with and without `www`:
|
Use the root domain in this command, and it will check for a certificate and automatically apply one with and without `www`:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user