From 4f639838f2fec017cf9ef6a4b2f7152d1426aa37 Mon Sep 17 00:00:00 2001 From: Ryan Hamilton Date: Thu, 11 Sep 2025 10:39:00 -0500 Subject: [PATCH] fix: update .env.example and docker-compose.yml for CRON error and configuration clarity --- .env.example | 11 ++++++----- docker-compose.yml | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index 2a128c1..3fe187a 100644 --- a/.env.example +++ b/.env.example @@ -8,10 +8,11 @@ PA11Y_PORT=4000 READONLY=false # Optional site message to display on homepage -SITE_MESSAGE=Welcome to Pa11y Dashboard! +SITE_MESSAGE= # Enable automatic testing with cron expression -# Examples: -# 0 2 * * * = Daily at 2 AM -# 0 */6 * * * = Every 6 hours -WEBSERVICE_CRON=false +# Leave commented out to disable automatic testing +# Uncomment and set to enable: +# WEBSERVICE_CRON=0 2 * * * # Daily at 2 AM +# WEBSERVICE_CRON=0 */6 * * * # Every 6 hours Configuration +# Copy this file to .env and customize as needed \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 1eca831..326880c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,7 @@ services: start_period: 30s pa11y-dashboard: - build: . + image: gitea.portal.tulsacounty.org/tcitcs/pa11y-docker:latest restart: unless-stopped depends_on: mongodb: @@ -33,7 +33,7 @@ services: WEBSERVICE_DATABASE: mongodb://mongodb:27017/pa11y-webservice WEBSERVICE_HOST: 0.0.0.0 WEBSERVICE_PORT: 3000 - WEBSERVICE_CRON: ${WEBSERVICE_CRON:-false} + WEBSERVICE_CRON: ${WEBSERVICE_CRON} networks: - pa11y-network