added docker-compose file

Signed-off-by: Alexander Hörl <alexander.horl2@live.de>
This commit is contained in:
Alexander Hörl 2021-12-04 18:54:50 +01:00
parent 02365fdd3f
commit b742cc7ba0

18
docker-compose.yml Normal file
View file

@ -0,0 +1,18 @@
version: "3.1"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
services:
nextcloud:
image: nextcloud/all-in-one:latest
restart: unless-stopped
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 80:80
- 8080:8080
- 8443:8443