set env/doc root

This commit is contained in:
Cold-Egg
2019-12-18 16:24:03 -05:00
parent ada70066dd
commit 8671e23eac
6 changed files with 36 additions and 11 deletions
+23 -3
View File
@@ -1,3 +1,23 @@
# ols-docker-env
OpenLiteSpeed Docker Environment
##
# OpenLiteSpeed WordPress Docker Container
Lightweight WordPress container with OpenLiteSpeed 1.5.10 & PHP 7.3 based on Ubuntu 18.04 Linux.
WordPress version will install: Latest
### Prerequisites
1. [Install Docker](https://www.docker.com/)
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
Edit the `.env` file to change the WordPress Domain, user and password, default MySQL root and wordpress password .
## Installation
Open a terminal and `cd` to the folder in which `docker-compose.yml` is saved and run:
```
docker-compose up
```
The containers are now built and running. You should be able to access the WordPress installation with the configured domain in the browser address. By default it is http://127.0.0.1.