Add nextcloud
This commit is contained in:
1
nextcloud/.env.example
Normal file
1
nextcloud/.env.example
Normal file
@@ -0,0 +1 @@
|
||||
NEXTCLOUD_DATA_DIR=
|
||||
13
nextcloud/docker-compose.yml
Normal file
13
nextcloud/docker-compose.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user