We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b8b201 commit 0ae31ffCopy full SHA for 0ae31ff
1 file changed
docker-compose.yml
@@ -25,4 +25,17 @@ services:
25
depends_on:
26
- db
27
ports:
28
- - 8081:8080
+ - 8081:8080
29
+ wpcli:
30
+ image: wordpress:cli
31
+ environment:
32
+ WORDPRESS_DB_HOST: db:3306
33
+ WORDPRESS_DB_PASSWORD: wordpress
34
+ WORDPRESS_DB_USER: wordpress
35
+ WORDPRESS_DB_NAME: wordpress
36
+ volumes_from:
37
+ - wordpress
38
+ depends_on:
39
+ - db
40
+ entrypoint: wp
41
+ command: "--info"
0 commit comments