Cloud VM (#7)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 6m42s
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 6m42s
- Nextcloud & potentially other "cloud" stuff VM Reviewed-on: #7
This commit is contained in:
21
infra/cloud/nextcloud/all-in-one.sh
Normal file
21
infra/cloud/nextcloud/all-in-one.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/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 \
|
||||
--env NEXTCLOUD_UPLOAD_LIMIT=16G \
|
||||
--env NEXTCLOUD_MAX_TIME=7200 \
|
||||
--env APACHE_PORT=11000 \
|
||||
--env APACHE_IP_BINDING=0.0.0.0 \
|
||||
--env TZ=Europe/London \
|
||||
--env AIO_DISABLE_BACKUP_SECTION=true \
|
||||
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
|
||||
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
|
||||
-d nextcloud/all-in-one:latest
|
Reference in New Issue
Block a user