wordpress-activitypub/docker-compose-test.yml

20 lines
365 B
YAML
Raw Normal View History

version: '3'
2022-12-27 16:59:04 +01:00
services:
test-db:
image: mariadb:latest
2022-12-27 16:59:04 +01:00
environment:
MYSQL_DATABASE: activitypub-test
MYSQL_ROOT_PASSWORD: activitypub-test
expose:
- "3306"
2022-12-27 16:59:04 +01:00
test-php:
build:
context: .
dockerfile: Dockerfile
2023-06-16 11:40:26 +02:00
depends_on:
2022-12-27 16:59:04 +01:00
- test-db
volumes:
- .:/app
command: ["composer", "run-script", "test"]