Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gpbenton/nextcloud
My docker installation of nextcloud with postgresql
https://github.com/gpbenton/nextcloud
docker docker-compose nextcloud postgresql
Last synced: about 2 months ago
JSON representation
My docker installation of nextcloud with postgresql
- Host: GitHub
- URL: https://github.com/gpbenton/nextcloud
- Owner: gpbenton
- Created: 2018-01-02T08:22:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-21T13:44:30.000Z (almost 4 years ago)
- Last Synced: 2023-12-11T10:36:17.110Z (about 1 year ago)
- Topics: docker, docker-compose, nextcloud, postgresql
- Language: Shell
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nextcloud docker-compose setup
This is my nextcloud configuration, including database and news-feed updater, for use with the news application.
# Installation
- you need a reverse proxy as a front end. I use caddy, but nginx will work to.
- git clone repository
- cd repository
- Create a .env with
```
POSTGRES_PASSWORD=
POSTGRES_USER=
POSTGRES_DB=
NEXTCLOUD_ADMIN_USER=
NEXTCLOUD_ADMIN_PASSWORD=
```
- docker-compose up -d
- use your browser to connect via your reverse proxy. You should be straight in as admin.# Configuration
For the news updater to work, you may need to add caddy as a trusted domain (the container accesses nextcloud via the docker internal network). This is easiest using occ.
Try
```
docker exec nextcloud_app_1 cat config/config.php
```to see the current config, and
```
docker exec -u www-data nextcloud_app_1 ./occ config:system:set trusted_domains 2 --value=caddy
```to set it, where `2` is the array index.