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
|
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
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user