Adding how to run with the readme

This commit is contained in:
Luke Policinski
2020-06-23 12:37:15 -04:00
parent 0b9f860138
commit 70a9666f37

View File

@@ -122,4 +122,21 @@ return [
// ...
```
## Running With Docker
To run Expose with docker use the included `docker-compose.yaml`. Copy `.env-example` to `.env` and update the configuration.
```
PORT=8080
DOMAIN=example.com
ADMIN_USERNAME=username
ADMIN_PASSWORD=password
```
After updating the environemtn variables you can start the server:
```bash
docker-compose up -d
```
Now that your basic expose server is running, let's take a look at how you can add SSL support.