Robin Thoni d9645aa127 fixed volume for new nextcloud installations | 5 gadus atpakaļ | |
---|---|---|
collabora | 5 gadus atpakaļ | |
nextcloud | 5 gadus atpakaļ | |
postgresql | 5 gadus atpakaļ | |
.gitignore | 5 gadus atpakaļ | |
README.md | 5 gadus atpakaļ | |
docker-compose.yml | 5 gadus atpakaļ | |
env | 5 gadus atpakaļ | |
env_collabora | 5 gadus atpakaļ |
This docker-compose allows to easily run a Nextcloud instance with Collabora.
nextcloud.example.com
)collabora.example.com
)env
TZ
Europe/Paris
POSTGRES_PASSWORD
./data/postgres/data/...
) are created. Any further change won’t update it.NEXTCLOUD_ADMIN_PASSWORD
root
user. It will only be set when Nextcloud will install itself. Any further change won’t update it.env_collabora
domain
nextcloud\.example\.com
(Note the backslashes to escape the dots)password
docker-compose.yml
restart
lines to allow docker to automatically start the containers on reboot./etc/apache2/sites-available/nextcloud.example.com.conf
:
<IfModule mod_ssl.c>
<VirtualHost *:80>
ServerName nextcloud.example.com
Redirect permanent / https://nextcloud.example.com/
</VirtualHost>
<VirtualHost *:443>
Include sites-available/nextcloud.example.com.include
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem
</VirtualHost>
</IfModule>
<IfModule !mod_ssl.c>
<VirtualHost *:80>
Include sites-available/nextcloud.example.com.include
</VirtualHost>
</IfModule>
/etc/apache2/sites-available/nextcloud.example.com.include
:
ServerName nextcloud.example.com
ServerAlias nextcloud.example.com
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://127.0.0.1:35081/
ProxyPassReverse / http://127.0.0.1:35081/
/etc/apache2/sites-available/collabora.example.com.conf
:
<IfModule mod_ssl.c>
<VirtualHost *:80>
ServerName collabora.example.com
Redirect permanent / https://collabora.example.com/
</VirtualHost>
<VirtualHost *:443>
Include sites-available/collabora.example.com.include
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem
</VirtualHost>
</IfModule>
<IfModule !mod_ssl.c>
<VirtualHost *:80>
Include sites-available/collabora.example.com.include
</VirtualHost>
</IfModule>
/etc/apache2/sites-available/collabora.example.com.include
:
ServerName collabora.example.com
ServerAlias collabora.example.com
ProxyPreserveHost On
ProxyRequests off
AllowEncodedSlashes NoDecode
# Order of ProxyPass matters
ProxyPassMatch "/lool/(.*)/ws$" ws://127.0.0.1:35082/lool/$1/ws nocanon
ProxyPass /lool/adminws ws://127.0.0.1:35082/lool/adminws
ProxyPass / http://127.0.0.1:35082/
ProxyPassReverse / http://127.0.0.1:35082/
docker-compose up --build -d
root
accountaccount picture
/ Apps
/ Upper right search
iconCollabora Online
Download and enable
account picture
/ Settings
/ Lower left Collabora Online
https://collabora.example.com
)Apply
+
New Document