Skip to content

Commit

Permalink
Update docker-compose.test.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ArchBlood <35392110+ArchBlood@users.noreply.github.com>
  • Loading branch information
ArchBlood authored Nov 12, 2024
1 parent cbb043a commit 83a8859
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,14 @@ services:
- HUMHUB_DB_NAME=humhub_test
- HUMHUB_DB_USER=humhubuser
- HUMHUB_DB_PASSWORD=humhubpassword
# FrankenPHP-specific environment variables
# FrankenPHP specific environment variables
- SERVER_NAME=:80
- PHP_INI_MEMORY_LIMIT=512M
- PHP_INI_MAX_EXECUTION_TIME=300
depends_on:
db:
condition: service_healthy
- db
networks:
- humhub_test_network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s

db:
image: mysql:8
Expand All @@ -38,13 +31,6 @@ services:
MYSQL_DATABASE: humhub_test
MYSQL_USER: humhubuser
MYSQL_PASSWORD: humhubpassword
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "humhubuser", "-phumhubpassword"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
command: --default-authentication-plugin=mysql_native_password
volumes:
- humhub_db_data:/var/lib/mysql
networks:
Expand Down

0 comments on commit 83a8859

Please sign in to comment.