mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-24 01:57:51 -05:00
* Create a Base64 URL-Safe encoding and decoding helper * Rename web_helper to url_helper --------- Co-authored-by: El_Coloso <diegoramosp@gmail.com>
22 lines
580 B
YAML
22 lines
580 B
YAML
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/tests" ]
|
|
ports:
|
|
- "80:80"
|