Skip to content

croox/pa11y-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pa11y-dashboard

Docker image for pa11y-dashboard.

Docker Hub: https://hub.docker.com/r/croox/pa11y-dashboard

Tags

  • 4.2.0
  • latest

Running the latest image

docker run --rm -p 127.0.0.1:4000:4000 -d croox/pa11y-dashboard:latest

Docker Compose

---

volumes:
  mongodb_data:

services:
  mongodb:
    container_name: mongodb
    image: mongo:latest
    volumes:
      - mongodb_data:/data/db
    restart: unless-stopped

  pa11y:
    container_name: pa11y
    image: croox/pa11y-dashboard:4.2.0
    environment:
      - NODE_ENV=production
    depends_on:
      - mongodb
    restart: unless-stopped
    ports:
      - 4000:4000

Using a custom configuration

The configuration used in this images is:

{
    "port": 4000,
    "noindex": true,
    "readonly": false,
    "webservice": {
        "database": "mongodb://mongodb/pa11y-dashboard",
        "host": "0.0.0.0",
        "port": 3000,
        "cron": "0 30 0 * * *",
        "chromeLaunchConfig": {
            "args": [
                "--no-sandbox"
            ]
        }
    }
}

To use a custom configuration, create a production.json file and run the container with the -v flag to mount the configuration file.

docker run --name pa11y-dashboard --rm -d -v $(pwd)/production.json:/opt/pa11y-dashboard/production.json croox/pa11y-dashboard:latest

About

Docker image for pa11y-dashboard.

Resources

Stars

Watchers

Forks

Packages

No packages published