mirror of
https://github.com/Cacti/cacti.git
synced 2026-10-28 07:37:11 +09:00
* fix(a11y): [develop] correct labels, document semantics and duplicate IDs Associates form controls with their labels, replaces obsolete tt markup, removes duplicate element IDs, and adds a native accessibility browser suite with its database fixture. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * fix(a11y): validate label IDs and recognize attribute escaping Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
76 lines
2.6 KiB
YAML
76 lines
2.6 KiB
YAML
#
|
|
# +-------------------------------------------------------------------------+
|
|
# | Copyright (C) 2004-2026 The Cacti Group |
|
|
# | |
|
|
# | This program is free software; you can redistribute it and/or |
|
|
# | modify it under the terms of the GNU General Public License |
|
|
# | as published by the Free Software Foundation; either version 2 |
|
|
# | of the License, or (at your option) any later version. |
|
|
# +-------------------------------------------------------------------------+
|
|
# | Cacti: The Complete RRDtool-based Graphing Solution |
|
|
# +-------------------------------------------------------------------------+
|
|
# | http://www.cacti.net/ |
|
|
# +-------------------------------------------------------------------------+
|
|
#
|
|
|
|
services:
|
|
openldap:
|
|
image: osixia/openldap:1.5.0
|
|
command: --copy-service
|
|
environment:
|
|
LDAP_ORGANISATION: Cacti E2E
|
|
LDAP_DOMAIN: example.org
|
|
LDAP_ADMIN_PASSWORD: adminpassword
|
|
LDAP_TLS: "false"
|
|
volumes:
|
|
- ./ldap/50-e2e.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/50-e2e.ldif:ro
|
|
healthcheck:
|
|
test: ["CMD", "ldapsearch", "-x", "-H", "ldap://127.0.0.1:389", "-b", "dc=example,dc=org", "-D", "cn=admin,dc=example,dc=org", "-w", "adminpassword", "-LLL", "cn=ldapuser"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 20
|
|
start_period: 15s
|
|
|
|
mariadb:
|
|
image: mariadb:10.11
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: cactiroot
|
|
MYSQL_DATABASE: cacti
|
|
MYSQL_USER: cactiuser
|
|
MYSQL_PASSWORD: cactiuser
|
|
command: >
|
|
--max-allowed-packet=500M
|
|
healthcheck:
|
|
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-pcactiroot"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 20
|
|
tmpfs:
|
|
- /var/lib/mysql
|
|
|
|
cacti:
|
|
build:
|
|
context: ../..
|
|
dockerfile: tests/e2e/Dockerfile
|
|
args:
|
|
CACTI_TEST_COVERAGE: "${CACTI_TEST_COVERAGE:-0}"
|
|
depends_on:
|
|
mariadb:
|
|
condition: service_healthy
|
|
openldap:
|
|
condition: service_healthy
|
|
environment:
|
|
CACTI_PR_RAW_COVERAGE: "${CACTI_PR_RAW_COVERAGE:-}"
|
|
CACTI_DB_HOST: mariadb
|
|
CACTI_DB_NAME: cacti
|
|
CACTI_DB_USER: cactiuser
|
|
CACTI_DB_PASS: cactiuser
|
|
CACTI_DB_ROOT_PASS: cactiroot
|
|
ports:
|
|
- "${HOST_PORT:-8080}:80"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-fsS", "http://127.0.0.1/"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 30
|