mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Update Nextcloud to 13.0.5
This commit is contained in:
parent
7cbd38d400
commit
8cf242a645
9 changed files with 72 additions and 91 deletions
|
|
@ -24,9 +24,4 @@
|
|||
- { role: monit, tags: [ 'monit' ] }
|
||||
- { role: arch-mirror-docker, tags: [ 'mirror', 'docker' ] }
|
||||
- { role: traefik-proxy-docker, tags: [ 'traefik', 'docker' ] }
|
||||
# vars_prompt:
|
||||
# - name: "ansible_sudo_pass"
|
||||
# prompt: "Sudo password"
|
||||
# private: yes
|
||||
vars_files:
|
||||
- "passwords.yml"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM nextcloud:13.0.2-fpm
|
||||
FROM nextcloud:13.0.5-fpm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
supervisor \
|
||||
|
|
|
|||
|
|
@ -62,26 +62,26 @@ services:
|
|||
image: redis
|
||||
restart: always
|
||||
|
||||
onlyoffice:
|
||||
image: onlyoffice/documentserver:latest
|
||||
stdin_open: true
|
||||
tty: true
|
||||
expose:
|
||||
- '80'
|
||||
labels:
|
||||
- "traefik.backend=onlyoffice"
|
||||
- "traefik.docker.network=web"
|
||||
- "traefik.frontend.rule=Host:office.banditlair.com"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.port=80"
|
||||
- "traefik.default.protocol=http"
|
||||
volumes:
|
||||
- /var/lib/onlyoffice:/var/www/onlyoffice/Data
|
||||
- /var/log/onlyoffice:/var/log/onlyoffice
|
||||
networks:
|
||||
- web
|
||||
- default
|
||||
restart: always
|
||||
# onlyoffice:
|
||||
# image: onlyoffice/documentserver:latest
|
||||
# stdin_open: true
|
||||
# tty: true
|
||||
# expose:
|
||||
# - '80'
|
||||
# labels:
|
||||
# - "traefik.backend=onlyoffice"
|
||||
# - "traefik.docker.network=web"
|
||||
# - "traefik.frontend.rule=Host:office.banditlair.com"
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.port=80"
|
||||
# - "traefik.default.protocol=http"
|
||||
# volumes:
|
||||
# - /var/lib/onlyoffice:/var/www/onlyoffice/Data
|
||||
# - /var/log/onlyoffice:/var/log/onlyoffice
|
||||
# networks:
|
||||
# - web
|
||||
# - default
|
||||
# restart: always
|
||||
|
||||
# collabora:
|
||||
# image: collabora/code:3.0.0.4
|
||||
|
|
|
|||
|
|
@ -9,8 +9,12 @@
|
|||
dest: "{{docker_compose_files_folder}}/nextcloud/db.env"
|
||||
- name: Create nextcloud config
|
||||
template:
|
||||
src: nextcloud/config/config.php
|
||||
dest: "{{docker_compose_files_folder}}/nextcloud/config/config.php"
|
||||
src: nextcloud/config/{{item}}
|
||||
dest: "{{docker_compose_files_folder}}/nextcloud/config/{{item}}"
|
||||
with_items:
|
||||
- base.config.php
|
||||
- database.config.php
|
||||
- mail.config.php
|
||||
- name: Change config folder owner to http
|
||||
file:
|
||||
path: "{{docker_compose_files_folder}}/nextcloud/config"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
$CONFIG = array (
|
||||
'instanceid' => 'ocbsz7gnyjst',
|
||||
'passwordsalt' => '{{nextcloud_passwordsalt}}',
|
||||
'secret' => '{{nextcloud_secret}}',
|
||||
'trusted_domains' =>
|
||||
array (
|
||||
0 => 'localhost',
|
||||
1 => 'web',
|
||||
2 => 'cloud.banditlair.com',
|
||||
),
|
||||
'datadirectory' => '/var/www/html/data',
|
||||
'overwrite.cli.url' => 'https://cloud.banditlair.com',
|
||||
'htaccess.RewriteBase' => '/',
|
||||
'maintenance' => false,
|
||||
'updater.release.channel' => 'stable',
|
||||
'loglevel' => '1',
|
||||
'filelocking.enabled' => true,
|
||||
'theme' => '',
|
||||
);
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
<?php
|
||||
$CONFIG = array (
|
||||
'instanceid' => 'ocbsz7gnyjst',
|
||||
'passwordsalt' => '{{nextcloud_passwordsalt}}',
|
||||
'secret' => '{{nextcloud_secret}}',
|
||||
'trusted_domains' =>
|
||||
array (
|
||||
0 => 'localhost',
|
||||
1 => 'web',
|
||||
2 => 'cloud.banditlair.com',
|
||||
),
|
||||
'datadirectory' => '/var/www/html/data',
|
||||
'overwrite.cli.url' => 'https://cloud.banditlair.com',
|
||||
'dbtype' => 'mysql',
|
||||
'version' => '13.0.2.1',
|
||||
'dbname' => 'nextcloud',
|
||||
'dbhost' => 'db',
|
||||
'dbport' => '3306',
|
||||
'dbtableprefix' => 'oc_',
|
||||
'dbuser' => 'nextcloud',
|
||||
'dbpassword' => '{{nextcloud_mysql_password}}',
|
||||
'installed' => true,
|
||||
'htaccess.RewriteBase' => '/',
|
||||
'maintenance' => false,
|
||||
'updater.release.channel' => 'stable',
|
||||
'loglevel' => '1',
|
||||
'mail_smtpmode' => 'smtp',
|
||||
'mail_smtpauthtype' => 'PLAIN',
|
||||
'mail_smtpsecure' => 'ssl',
|
||||
'mail_smtpauth' => 1,
|
||||
'mail_from_address' => 'noreply',
|
||||
'mail_domain' => 'banditlair.com',
|
||||
'mail_smtphost' => 'mail.banditlair.com',
|
||||
'mail_smtpport' => '465',
|
||||
'mail_smtpname' => 'noreply@banditlair.com',
|
||||
'mail_smtppassword' => '{{email_password}}',
|
||||
'filelocking.enabled' => true,
|
||||
'memcache.local' => '\\OC\\Memcache\\Redis',
|
||||
'apps_paths' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'path' => '/var/www/html/apps',
|
||||
'url' => '/apps',
|
||||
'writable' => false,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'path' => '/var/www/html/custom_apps',
|
||||
'url' => '/custom_apps',
|
||||
'writable' => true,
|
||||
),
|
||||
),
|
||||
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
||||
'redis' =>
|
||||
array (
|
||||
'host' => 'redis',
|
||||
'port' => 6379,
|
||||
),
|
||||
'theme' => '',
|
||||
);
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
$CONFIG = array (
|
||||
'dbtype' => 'mysql',
|
||||
'dbname' => 'nextcloud',
|
||||
'dbhost' => 'db',
|
||||
'dbport' => '3306',
|
||||
'dbtableprefix' => 'oc_',
|
||||
'dbuser' => 'nextcloud',
|
||||
'dbpassword' => '{{nextcloud_mysql_password}}',
|
||||
);
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
$CONFIG = array (
|
||||
'mail_smtpmode' => 'smtp',
|
||||
'mail_smtpauthtype' => 'PLAIN',
|
||||
'mail_smtpsecure' => 'ssl',
|
||||
'mail_smtpauth' => 1,
|
||||
'mail_from_address' => 'noreply',
|
||||
'mail_domain' => 'banditlair.com',
|
||||
'mail_smtphost' => 'mail.banditlair.com',
|
||||
'mail_smtpport' => '465',
|
||||
'mail_smtpname' => 'noreply@banditlair.com',
|
||||
'mail_smtppassword' => '{{email_password}}',
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue