kovalhome/infra/cloud/nextcloud/all-in-one.sh

20 lines
564 B
Bash
Raw Normal View History

2023-09-26 02:13:11 +00:00
#!/bin/bash
docker stop nextcloud-aio-mastercontainer || true
docker rm nextcloud-aio-mastercontainer || true
docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart unless-stopped \
--publish 8080:8080 \
--env NEXTCLOUD_DATADIR=/mnt/data/nextcloud \
2023-09-26 02:13:11 +00:00
--env APACHE_PORT=11000 \
--env APACHE_IP_BINDING=0.0.0.0 \
--env TZ=Europe/London \
--env AIO_DISABLE_BACKUP_SECTION=true \
2023-09-26 02:13:11 +00:00
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
2023-09-26 02:48:20 +00:00
-d nextcloud/all-in-one:latest