update to version 16 of nextcloud

This commit is contained in:
2019-06-08 06:29:17 -04:00
parent 51f8bb0ac2
commit e53207220a
6 changed files with 5 additions and 12 deletions

View File

@@ -1,7 +0,0 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
<version value="1.0" />
</settings>
</component>

View File

@@ -1,4 +1,4 @@
FROM nextcloud:15-apache FROM nextcloud:16-apache
RUN apt-get update && apt-get install -y smbclient && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y smbclient && rm -rf /var/lib/apt/lists/*

View File

@@ -4,4 +4,4 @@ export DOCKER_HOST=dkmanager:2376
docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY
docker-compose -f docker-compose-mono.yml build docker-compose -f docker-compose-mono.yml build
docker push dkregistry.xai-corp.net:5000/xaicorp/nextcloud:15 docker push dkregistry.xai-corp.net:5000/xaicorp/nextcloud:16

View File

@@ -12,4 +12,4 @@ services:
build: build:
context: . context: .
dockerfile: ./Dockerfile-mono dockerfile: ./Dockerfile-mono
image: dkregistry.xai-corp.net:5000/xaicorp/nextcloud:15 image: dkregistry.xai-corp.net:5000/xaicorp/nextcloud:16

View File

@@ -12,7 +12,7 @@ volumes:
services: services:
app: app:
image: "dkregistry.xai-corp.net:5000/xaicorp/nextcloud:15" image: "dkregistry.xai-corp.net:5000/xaicorp/nextcloud:16"
ports: ports:
- 8083:80 - 8083:80
volumes: volumes:

View File

@@ -11,7 +11,7 @@ scale_out() {
REPLICA_COUNT=`docker service inspect $1 | jq '.[0].Spec.Mode.Replicated.Replicas'` REPLICA_COUNT=`docker service inspect $1 | jq '.[0].Spec.Mode.Replicated.Replicas'`
./timeout.sh -t $2 docker service scale $1=$(($REPLICA_COUNT*2)) ./timeout.sh -t $2 docker service scale $1=$(($REPLICA_COUNT*2))
./timeout.sh -t $2 docker service scale $1=$(($REPLICA_COUNT)) ./timeout.sh -t $2 docker service scale $1=$(($REPLICA_COUNT))
docker service update -q $1 ./timeout.sh -t $2 docker service update -q $1
} }
docker stack deploy -c dkregistry/docker-compose.yml $SERVICE docker stack deploy -c dkregistry/docker-compose.yml $SERVICE