Skip to content

Commit

Permalink
Add credentials to cli containers and name them consistenty
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Aug 31, 2024
1 parent 761f539 commit 4d4a547
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: password

wpcli:
wp-cli:
image: wordpress:cli
depends_on:
- mysql
Expand All @@ -39,8 +39,12 @@ services:
- wp_data:/var/www/html
- .:/var/www/html/wp-content/plugins/widget-context-src
- ./dist:/var/www/html/wp-content/plugins/widget-context
environment:
WORDPRESS_DEBUG: 1
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: password

cli-php8:
wp-cli-php8:
image: wordpress:cli-php8.2
depends_on:
- mysql
Expand Down

0 comments on commit 4d4a547

Please sign in to comment.