mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-20 02:46:10 +02:00
18 lines
629 B
YAML
18 lines
629 B
YAML
version: '2'
|
|
|
|
services:
|
|
nc:
|
|
image: nextcloud:29.0.4-apache
|
|
#build: # The build takes currently ~ 30 minutes which is far too long for daily testing
|
|
# context: ../29/fpm
|
|
# dockerfile: Dockerfile
|
|
restart: always
|
|
ports:
|
|
- 8080:80
|
|
#volumes:
|
|
# - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
|
|
healthcheck:
|
|
test: curl --fail --silent http://localhost
|
|
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
|
start_period: "60s"
|
|
start_interval: "1s"
|