1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 08:04:03 +00:00

Fix #1112 - throw an exception if DATABASE_URL is set (#9)

* fix #1112 - throw an exception when DATABASE_URL is defined, minor test changes

* Fix code style (php-cs-fixer)

* fix typo

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
This commit is contained in:
Samuel Štancl 2023-08-18 20:21:00 +02:00 committed by GitHub
parent af3812e788
commit 2d500f9780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 1 deletions

View file

@ -40,6 +40,8 @@ services:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 10s
retries: 10
tmpfs:
- /var/lib/mysql
mysql2:
image: mysql:5.7
environment:
@ -51,6 +53,8 @@ services:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 10s
retries: 10
tmpfs:
- /var/lib/mysql
postgres:
image: postgres:11
environment:
@ -62,6 +66,8 @@ services:
interval: 10s
timeout: 5s
retries: 5
tmpfs:
- /var/lib/postgresql/data
redis:
image: redis:alpine
healthcheck: