diff --git a/nextcloud/ReadMe.md b/nextcloud/ReadMe.md new file mode 100644 index 0000000..af66f55 --- /dev/null +++ b/nextcloud/ReadMe.md @@ -0,0 +1,8 @@ +# NextCloud +I use an all-in-one image, which **is not *the* AIO or all-in-one image**. I +don't know why there's a project named that which adds a bunch of stuff and is +not actually all-in-one but it makes things confusing. :D + +The only way I could get this working when I first started using Cosmos as a +reverse proxy was to use the CasaOS compose, so this is modified from that: +https://azukaar.github.io/cosmos-casaos-store/servapps/Nextcloud/docker-compose.yml diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml new file mode 100644 index 0000000..1430240 --- /dev/null +++ b/nextcloud/docker-compose.yml @@ -0,0 +1,24 @@ +volumes: + data: + driver: local + driver_opts: + type: none + o: bind + device: /mnt/apple/nextcloud/data + +services: + nextcloud: + image: nextcloud:27.1.3 + container_name: nextcloud + hostname: nextcloud + deploy: + resources: + reservations: + memory: 512M + network_mode: bridge + # ports: + # - 10081:80/tcp + # - 10443:443/tcp + restart: unless-stopped + volumes: + - data:/var/www/html