update help for nextcloud xai occ cli command
add memory limit update to nextcloud
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
FROM nextcloud:16-apache
|
||||
|
||||
RUN apt-get update && apt-get install -y smbclient && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN echo memory_limit=-1 > /usr/local/etc/php/conf.d/memory-limit.inis
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -e
|
||||
|
||||
export DOCKER_HOST=${DOCKER_HOST:-'dkhost:2376'}
|
||||
|
||||
@@ -17,5 +17,6 @@ do
|
||||
done
|
||||
shift $((OPTIND -1))
|
||||
|
||||
echo using container "${container}"
|
||||
# shellcheck disable=SC2068
|
||||
docker exec -it -u www-data "$container" php occ $@
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
ARGS - The arguments you wish to provide to this command
|
||||
-c name or id of nextcloud container
|
||||
|
||||
TODO: Fill out the help information for this command.
|
||||
DOCKER_HOST=dkhost:23
|
||||
@@ -1 +1 @@
|
||||
ARGS...
|
||||
[-c <container id>] [occ_commands]
|
||||
|
||||
Reference in New Issue
Block a user