feat: add wordpress site variant

This commit is contained in:
bisco
2026-06-25 07:36:25 +02:00
parent cae9180bc6
commit c66dd7e511
46 changed files with 2091 additions and 136 deletions
+47
View File
@@ -0,0 +1,47 @@
services:
db:
volumes:
- test_db_data:/var/lib/mysql
wordpress:
volumes:
- test_wordpress_data:/var/www/html
wp-cli:
environment:
WP_URL: http://azionelab.org
WP_ADMIN_USER: test-admin
WP_ADMIN_PASSWORD: test-only-password-not-for-production
WP_ADMIN_EMAIL: test@example.org
volumes:
- test_wordpress_data:/var/www/html
- ./wp-cli/bootstrap.sh:/scripts/bootstrap.sh:ro
proxy:
networks:
web:
aliases:
- azionelab.org
functional-tests:
build:
context: ./tests/functional
init: true
environment:
BASE_URL: http://azionelab.org
INVALID_HOST_URL: http://proxy
CI: "true"
depends_on:
proxy:
condition: service_healthy
profiles: ["test"]
networks:
- web
shm_size: 1gb
security_opt:
- no-new-privileges:true
pids_limit: 200
volumes:
test_db_data:
test_wordpress_data: