add healthcheck to portainer

This commit is contained in:
2018-10-27 09:28:44 -04:00
parent b72a506e7f
commit 72856026cd
4 changed files with 11 additions and 5 deletions

View File

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

View File

@@ -2,7 +2,7 @@
# docker-compose file for nextcloud server
# docker login dkregistry.xai-corp.net:5000
# docker-compose build && docker push dkregistry.xai-corp.net:5000/xaicorp/nextcloud:latest
# docker-compose -f docker-compose-mono.yml build && docker push dkregistry.xai-corp.net:5000/xaicorp/nextcloud:latest
# DOCKER_HOST=dkhost:2376 docker stack deploy --with-registry-auth -c docker-compose-prod.yml owncloud
version: '2'
@@ -12,4 +12,4 @@ services:
build:
context: .
dockerfile: ./Dockerfile-mono
image: dkregistry.xai-corp.net:5000/xaicorp/nextcloud:latest
image: dkregistry.xai-corp.net:5000/xaicorp/nextcloud:13

View File

@@ -12,7 +12,7 @@ volumes:
services:
app:
image: "dkregistry.xai-corp.net:5000/xaicorp/nextcloud:latest"
image: "dkregistry.xai-corp.net:5000/xaicorp/nextcloud:14"
ports:
- 8083:80
volumes:
@@ -43,7 +43,7 @@ services:
order: start-first
resources:
limits:
memory: 512M
memory: 1024M
networks:
- prod_ui