Include compose files
This commit is contained in:
parent
4628820aa4
commit
a52cdd50cc
19 changed files with 667 additions and 1 deletions
51
Docker/nextcloud/config/www/nextcloud/config/config.php
Normal file
51
Docker/nextcloud/config/www/nextcloud/config/config.php
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?php
|
||||
$CONFIG = array (
|
||||
'memcache.local' => '\\OC\\Memcache\\Redis',
|
||||
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
||||
'memcache.distributed' => '\\OC\\Memcache\\Redis',
|
||||
'redis' =>
|
||||
array (
|
||||
'host' => 'nextcloud-redis',
|
||||
'port' => 6379,
|
||||
),
|
||||
'datadirectory' => '/data',
|
||||
'instanceid' => 'example',
|
||||
'passwordsalt' => 'example',
|
||||
'secret' => 'example',
|
||||
'trusted_proxies' =>
|
||||
array (
|
||||
0 => 'swag',
|
||||
),
|
||||
'trusted_domains' =>
|
||||
array (
|
||||
0 => 'cloud.example.de',
|
||||
),
|
||||
'dbtype' => 'mysql',
|
||||
'version' => '22.2.3.0',
|
||||
'overwriteprotocol' => 'https',
|
||||
'overwritehost' => 'cloud.example.de',
|
||||
'overwrite.cli.url' => 'https://cloud.example.de',
|
||||
'dbname' => 'db',
|
||||
'dbhost' => 'nextcloud-db',
|
||||
'dbport' => '',
|
||||
'dbtableprefix' => 'oc_',
|
||||
'mysql.utf8mb4' => true,
|
||||
'dbuser' => 'user',
|
||||
'dbpassword' => 'password',
|
||||
'installed' => true,
|
||||
'default_phone_region' => 'DE',
|
||||
'maintenance' => false,
|
||||
'mail_smtpmode' => 'smtp',
|
||||
'mail_smtpsecure' => 'tls',
|
||||
'mail_sendmailmode' => 'smtp',
|
||||
'mail_smtpauthtype' => 'LOGIN',
|
||||
'mail_smtpauth' => 1,
|
||||
'mail_smtphost' => 'smtp.gmail.com',
|
||||
'mail_smtpport' => '587',
|
||||
'mail_from_address' => 'nextcloud',
|
||||
'mail_domain' => 'example.de',
|
||||
'mail_smtpname' => 'example@gmail.com',
|
||||
'mail_smtppassword' => 'example',
|
||||
'theme' => '',
|
||||
'loglevel' => 2,
|
||||
);
|
57
Docker/nextcloud/docker-compose.yml
Normal file
57
Docker/nextcloud/docker-compose.yml
Normal file
|
@ -0,0 +1,57 @@
|
|||
version: "3.9"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
net:
|
||||
external: false
|
||||
|
||||
volumes:
|
||||
redis:
|
||||
|
||||
services:
|
||||
nextcloud-redis:
|
||||
image: redis:latest
|
||||
container_name: nextcloud-redis
|
||||
restart: always
|
||||
volumes:
|
||||
- redis:/data
|
||||
networks:
|
||||
- net
|
||||
|
||||
nextcloud-db:
|
||||
image: lscr.io/linuxserver/mariadb:latest
|
||||
container_name: nextcloud-db
|
||||
restart: always
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Berlin
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=db
|
||||
- MYSQL_USER=user
|
||||
- MYSQL_PASSWORD=password
|
||||
volumes:
|
||||
- ./db:/config
|
||||
networks:
|
||||
- net
|
||||
|
||||
nextcloud:
|
||||
image: lscr.io/linuxserver/nextcloud:latest
|
||||
container_name: nextcloud
|
||||
restart: always
|
||||
depends_on:
|
||||
- nextcloud-db
|
||||
- nextcloud-redis
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Berlin
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./data:/data
|
||||
expose:
|
||||
- 443
|
||||
networks:
|
||||
- net
|
||||
- proxy
|
Loading…
Add table
Add a link
Reference in a new issue