mirror of
https://github.com/Thumbscrew/nextcloud-docker-compose.git
synced 2025-01-18 17:45:46 +00:00
update README to reflect removal of Nginx component
This commit is contained in:
parent
2e2a5596f8
commit
2e22c1ae4d
20
README.md
20
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/
|
||||
|
Loading…
Reference in New Issue
Block a user