From 2e22c1ae4dec92002220499423e89eb624254e09 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Sun, 27 Feb 2022 15:39:16 +0000 Subject: [PATCH] update README to reflect removal of Nginx component --- README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ab6b788..66157db 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Nextcloud (Docker Compose) -Build a Nextcloud instance in Docker Compose complete with PostgreSQL, Redis and SSL +Build a Nextcloud instance in Docker Compose complete with PostgreSQL and Redis ## Prerequisites 1. [Docker](https://docs.docker.com/engine/install/) 2. [Docker Compose](https://docs.docker.com/compose/install/) -3. SSL key and cert +3. A reverse proxy on its own Docker network ## Setup @@ -15,15 +15,17 @@ Build a Nextcloud instance in Docker Compose complete with PostgreSQL, Redis and cp .env.example .env ``` -2. Replace the `SSL_CERT_PATH` and `SSL_KEY_PATH` variables in the newly created `.env` file to point to your SSL key and cert +2. Replace the `NEXTCLOUD_HOST` variable with your desired domain -3. Replace the `NGINX_HOST` variable with your desired domain +3. Replace `VOLUME_PATH` variable if you wish to change where volume data is stored -4. Replace `VOLUME_PATH` variable if you wish to change where volume data is stored +4. Modify other variables as needed -5. Modify other variables as needed +5. Create the following required secrets files (you should consider restricting access to these files): -6. Create the required secrets files (you should consider restricting access to these files): +- `secrets/postgres_password.txt` +- `secrets/nextcloud_admin_user.txt` +- `secrets/nextcloud_admin_password.txt` ```bash # Postgres @@ -34,13 +36,13 @@ echo "admin" > secrets/nextcloud_admin_user.txt # Replace with echo "SuperSecretPassword" > secrets/nextcloud_admin_password.txt # Replace with super secret password for admin Nextcloud user ``` -7. Bring up the containers! +6. Bring up the containers! ```bash sudo docker-compose -p nextcloud up --build -d ``` -8. (Optional) To enable some file previews copy [previews.config.php](nextcloud/previews.config.php) into your Nextcloud's `config` directory (replace `$volume` with the path you have set in the `VOLUME_PATH` environment variable): +7. (Optional) To enable some file previews copy [previews.config.php](nextcloud/previews.config.php) into your Nextcloud's `config` directory (replace `$volume` with the path you have set in the `VOLUME_PATH` environment variable): ```bash sudo cp nextcloud/previews.config.php $volume/var/www/html/config/