Files
opensourcepos/docker-compose.test.yml
BudsieBuds dd5a20229d Docker compose typo
Fixed a typo in docker-compose.test file
2024-06-15 17:19:15 +02:00

25 lines
585 B
YAML

version: '2.2'
include:
- docker/docker-mysql.yml
services:
test:
build:
context: .
target: ospos_test
depends_on:
- mysql
container_name: ospos_test
environment:
- CI_ENVIRONMENT=testing
- ENCRYPTION_KEY=
- MYSQL_HOST_NAME=mysql
- MYSQL_DATABASE=ospos
- MYSQL_USERNAME=admin
- MYSQL_PASSWORD=pointofsale
command: ["/bin/wait-for-it.sh", "mysql:3306", "--", "/app/vendor/bin/phpunit", "/app/app/tests"]
ports:
- "80:80"