07-24-2023, 08:09 AM
I'd like to use [drush](
How can I use drush with this drupal docker image?
[
Is it possible to manage it with docker-compose? Maybe extending the drupal container?
This is my `docker-compose.yml`:
mysql:
image: mysql:5.5
ports:
- "3306:3306"
environment:
- MYSQL_USER=xxxxx
- MYSQL_PASSWORD=xxxxxx
- MYSQL_ROOT_PASSWORD=xxxxxx
- MYSQL_DATABASE=xxxxxx
drupal:
image: drupal:8.0.4
links:
- mysql
ports:
- "8080:80"
[1]:
[To see links please register here]
). It needs to run in the drupal container. There's also a [drush docker repo]([To see links please register here]
). But I have no clue how to make it available whithin the drupal container. It's my first docker and drupal project, so maybe I'm getting things completely wrong.How can I use drush with this drupal docker image?
[
[To see links please register here]
][1]Is it possible to manage it with docker-compose? Maybe extending the drupal container?
This is my `docker-compose.yml`:
mysql:
image: mysql:5.5
ports:
- "3306:3306"
environment:
- MYSQL_USER=xxxxx
- MYSQL_PASSWORD=xxxxxx
- MYSQL_ROOT_PASSWORD=xxxxxx
- MYSQL_DATABASE=xxxxxx
drupal:
image: drupal:8.0.4
links:
- mysql
ports:
- "8080:80"
[1]:
[To see links please register here]