From 70a9666f375864cfc13b573799f4d225c933e15f Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Tue, 23 Jun 2020 12:37:15 -0400 Subject: [PATCH] Adding how to run with the readme --- docs/server/starting-the-server.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/server/starting-the-server.md b/docs/server/starting-the-server.md index 3e74c51..74970e5 100644 --- a/docs/server/starting-the-server.md +++ b/docs/server/starting-the-server.md @@ -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.