Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion energy-tests/Dockerfile-mariadb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM mariadb:10.8.2-focal
FROM mariadb:latest
COPY ./wordpress-dump.sql /docker-entrypoint-initdb.d/wordpress-dump.sql
EXPOSE 3306
2 changes: 1 addition & 1 deletion energy-tests/Dockerfile-wordpress
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM wordpress:7.0.4-php8.3-apache
FROM wordpress:latest
EXPOSE 9875
COPY ./html /var/www/html
COPY ./wordpress.conf /etc/apache2/sites-enabled/wordpress.conf
2 changes: 1 addition & 1 deletion energy-tests/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
- 3306
healthcheck:
test: [
"CMD", "bash", "-c", "mysqladmin ping -h localhost -u wordpress -pwordpress | grep \"mysqld is alive\""
"CMD", "bash", "-c", "mariadb -h localhost -u wordpress -pwordpress -e 'SELECT 1' >/dev/null 2>&1"
]
interval: "1h" # effectively turns repeated healthchecks during runtime off
start_period: "60s"
Expand Down