Install Nextcloud behind reverse proxy: Difference between revisions

From Jwiki
No edit summary
No edit summary
Line 20: Line 20:
nextcloud/all-in-one:latest
nextcloud/all-in-one:latest
</syntaxhighlight>
</syntaxhighlight>


== Final steps ==
== Final steps ==
1. Download Custom CSS package
2. Add custom css:
<syntaxhighlight lang="css">
.editor__content{ max-width:90% !important; }
</syntaxhighlight>


== Debug ==
== Debug ==

Revision as of 08:52, 29 August 2024

Prequisites

Install

Keep attention to NEXTCLOUD_DATADIR as that will be the installation directory

sudo docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 8080:8080 \
--env APACHE_PORT=11000 \
--env APACHE_IP_BINDING=0.0.0.0 \
--env NEXTCLOUD_DATADIR=/mnt/nextcloud \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest


Final steps

1. Download Custom CSS package 2. Add custom css:

.editor__content{ max-width:90% !important; }


Debug

sudo docker logs -f nextcloud-aio-mastercontainer


Sources