0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-20 10:56:08 +02:00
nextcloud-docker/energy-tests/compose-sqlite.yml
2024-10-18 16:02:06 +02:00

23 lines
601 B
YAML

version: '2'
volumes:
nextcloud-data-sqlite:
services:
nc:
image: nextcloud:30.0.0-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
environment:
SQLITE_DATABASE: owncloud2.db
volumes:
- nextcloud-data-sqlite:/var/www/html
healthcheck:
test: curl --fail --silent http://nc
interval: "1h" # effectively turns repeated healthchecks during runtime off
start_period: "60s"
start_interval: "1s"