fix: update .env.example and docker-compose.yml for CRON error and configuration clarity
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 5m3s

This commit is contained in:
2025-09-11 10:39:00 -05:00
parent fe061a46d6
commit 4f639838f2
2 changed files with 8 additions and 7 deletions

View File

@@ -8,10 +8,11 @@ PA11Y_PORT=4000
READONLY=false READONLY=false
# Optional site message to display on homepage # Optional site message to display on homepage
SITE_MESSAGE=Welcome to Pa11y Dashboard! SITE_MESSAGE=
# Enable automatic testing with cron expression # Enable automatic testing with cron expression
# Examples: # Leave commented out to disable automatic testing
# 0 2 * * * = Daily at 2 AM # Uncomment and set to enable:
# 0 */6 * * * = Every 6 hours # WEBSERVICE_CRON=0 2 * * * # Daily at 2 AM
WEBSERVICE_CRON=false # WEBSERVICE_CRON=0 */6 * * * # Every 6 hours Configuration
# Copy this file to .env and customize as needed

View File

@@ -17,7 +17,7 @@ services:
start_period: 30s start_period: 30s
pa11y-dashboard: pa11y-dashboard:
build: . image: gitea.portal.tulsacounty.org/tcitcs/pa11y-docker:latest
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
mongodb: mongodb:
@@ -33,7 +33,7 @@ services:
WEBSERVICE_DATABASE: mongodb://mongodb:27017/pa11y-webservice WEBSERVICE_DATABASE: mongodb://mongodb:27017/pa11y-webservice
WEBSERVICE_HOST: 0.0.0.0 WEBSERVICE_HOST: 0.0.0.0
WEBSERVICE_PORT: 3000 WEBSERVICE_PORT: 3000
WEBSERVICE_CRON: ${WEBSERVICE_CRON:-false} WEBSERVICE_CRON: ${WEBSERVICE_CRON}
networks: networks:
- pa11y-network - pa11y-network