From e99ddcf23afe72f43485d584964c2d3f831f6896 Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Tue, 15 Feb 2022 18:28:17 -0500 Subject: [PATCH] Document creation of data directory in SETUP.md --- SETUP.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SETUP.md b/SETUP.md index f4debbb..84aa9f5 100644 --- a/SETUP.md +++ b/SETUP.md @@ -185,6 +185,17 @@ The following instructions are essentially independent of the cloud provider and 3. Get a fully-qualified domain name (FQDN) for the server, for which the DNS can be controlled. Point it to the server. Make sure it works, using "`dig FQDN`" -- get back an `A` record pointing to your server's IP address. +### Create a data directory for your server + +We recommend that the directory be named `/var/docker/dashboard.example.com`; but it can be anything. You'll need the name below. Here's a sample for creating it: + +```bash +sudo mkdir /var/docker +sudo mkdir /var/docker/dashboard.example.com +``` + +Note, therefore, that the _code_ for your dashboard lives at `/opt/docker/dashboard.example.com`. The _data_ for your dashboard lives at `/var/docker/dashboard.example.com`. + ### Create and edit the .env file First, create a .env file. The following comand sequence can be cut and paste to generate an empty template: