Install Nextcloud behind reverse proxy: Difference between revisions

From Jwiki
No edit summary
No edit summary
Line 3: Line 3:


== Install ==
== Install ==
Keep attention to NEXTCLOUD_DATADIR as that will be the installation directory


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 10: Line 12:
--name nextcloud-aio-mastercontainer \
--name nextcloud-aio-mastercontainer \
--restart always \
--restart always \
--publish 8084:8080 \
--publish 8080:8080 \
--env APACHE_PORT=11000 \
--env APACHE_PORT=11000 \
--env APACHE_IP_BINDING=0.0.0.0 \
--env APACHE_IP_BINDING=0.0.0.0 \

Revision as of 08:50, 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

Sources