Created
April 23, 2024 05:16
-
-
Save danmac/8eb9ab3013f6ea75b3835eb72c5ffe8e to your computer and use it in GitHub Desktop.
A Portainer Stack to load nextcloud on docker behind a reverse proxy. I then point NGINX Proxy Manager to port 11000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
nextcloud-aio-mastercontainer: | |
image: nextcloud/all-in-one:latest | |
init: true | |
restart: always | |
container_name: nextcloud-aio-mastercontainer | |
volumes: | |
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
environment: | |
- APACHE_PORT=11000 | |
- APACHE_IP_BINDING=0.0.0.0 | |
- NEXTCLOUD_DATADIR=nextcloud_aio_nextcloud_datadir # This is so you can create a volume in portainer called nextcloud_aio_nextcloud_datadir to use for data. In my case on a CIFS share | |
ports: | |
- 8888:8080 # Had to map 8080 to something else becuase 8080 was already mapped on my docker server | |
volumes: | |
nextcloud_aio_mastercontainer: | |
name: nextcloud_aio_mastercontainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment