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
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 5m3s
This commit is contained in:
11
.env.example
11
.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
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user