diff --git a/docker-compose.yml b/docker-compose.yml index 0388b5e..dea7ba6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ include: - gitea/docker-compose.yml - immich/docker-compose.yml - jellyfin/docker-compose.yml + - nextcloud/docker-compose.yml - paperless/docker-compose.yml - pingvin/docker-compose.yml - pocketid/docker-compose.yml diff --git a/nextcloud/.env.example b/nextcloud/.env.example new file mode 100644 index 0000000..ac68c78 --- /dev/null +++ b/nextcloud/.env.example @@ -0,0 +1 @@ +NEXTCLOUD_DATA_DIR= \ No newline at end of file diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml new file mode 100644 index 0000000..c6a0a0e --- /dev/null +++ b/nextcloud/docker-compose.yml @@ -0,0 +1,13 @@ +services: + nextcloud-aio-mastercontainer: + image: nextcloud/all-in-one:v10.9.0 + init: true + restart: always + container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly + volumes: + - ${NEXTCLOUD_DATA_DIR}:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work + - /var/run/docker.sock:/var/run/docker.sock:ro + network_mode: bridge # add to the same network as docker run would do + ports: + - 8081:8080 + - 8443:8443 \ No newline at end of file