Added initial working nextcloud config
parent
eee1de9a36
commit
102aaa59e4
|
@ -0,0 +1,3 @@
|
|||
POSTGRES_DB=nextcloud
|
||||
POSTGRES_USER=nextcloud
|
||||
POSTGRES_PASSWORD=pass
|
|
@ -16,23 +16,23 @@ services:
|
|||
- 'default'
|
||||
- 'nginx'
|
||||
volumes:
|
||||
- 'root:/var/www/html'
|
||||
- 'data:/var/www/html/data'
|
||||
- 'config:/var/www/html/config'
|
||||
- 'data:/var/www/html/data'
|
||||
- 'root:/var/www/html'
|
||||
|
||||
cron:
|
||||
image: 'nextcloud:20-apache'
|
||||
restart: 'always'
|
||||
entrypoint: '/cron.sh'
|
||||
restart: 'always'
|
||||
|
||||
depends_on:
|
||||
- 'app'
|
||||
labels:
|
||||
- 'com.centurylinklabs.watchtower.enable=true'
|
||||
volumes:
|
||||
- 'root:/var/www/html'
|
||||
- 'data:/var/www/html/data'
|
||||
- 'config:/var/www/html/config'
|
||||
- 'data:/var/www/html/data'
|
||||
- 'root:/var/www/html'
|
||||
|
||||
db:
|
||||
image: 'postgres:13-alpine'
|
||||
|
@ -57,6 +57,7 @@ networks:
|
|||
external: true
|
||||
|
||||
volumes:
|
||||
root:
|
||||
config:
|
||||
data:
|
||||
db-data:
|
||||
root:
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# Database
|
||||
POSTGRES_DB=nextcloud
|
||||
POSTGRES_USER=nextcloud
|
||||
POSTGRES_PASSWORD=pass
|
||||
POSTGRES_HOST=db
|
||||
|
||||
# Redis
|
||||
REDIS_HOST=redis
|
||||
|
||||
# Admin Settings
|
||||
NEXTCLOUD_ADMIN_USER=root
|
||||
NEXTCLOUD_ADMIN_PASSWORD=changeme
|
||||
|
||||
# Not sure if this one is needed
|
||||
APACHE_DISABLE_REWRITE_IP=1
|
||||
|
||||
# Allow usage with nginx container
|
||||
TRUSTED_PROXIES=nginx
|
||||
|
||||
# Put the URL of your nextcloud instance here
|
||||
NEXTCLOUD_TRUSTED_DOMAINS=
|
Reference in New Issue