Skip to content

Commit

Permalink
Bump to a version that supports arm
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Aug 31, 2024
1 parent 958ca89 commit 761f539
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3'
services:

mysql:
image: mysql:5
image: mysql:8.0
volumes:
- db_data:/var/lib/mysql
restart: always
Expand Down Expand Up @@ -40,6 +40,20 @@ services:
- .:/var/www/html/wp-content/plugins/widget-context-src
- ./dist:/var/www/html/wp-content/plugins/widget-context

cli-php8:
image: wordpress:cli-php8.2
depends_on:
- mysql
volumes:
- wp_data:/var/www/html
- .:/var/www/html/wp-content/plugins/widget-context-src
- ./dist:/var/www/html/wp-content/plugins/widget-context
restart: always
environment:
WORDPRESS_DEBUG: 1
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: password

volumes:
db_data: {}
wp_data: {}

0 comments on commit 761f539

Please # to comment.