Skip to content

Commit 555ed18

Browse files
committed
Set Drush URI
1 parent 1b88cc6 commit 555ed18

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker-compose.server.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ services:
1717
environment:
1818
- PHP_MAX_EXECUTION_TIME=30
1919
- PHP_MEMORY_LIMIT=128M
20+
# Let drush know the site uri (makes using --uri redundant)
21+
- DRUSH_OPTIONS_URI=https://${COMPOSE_SERVER_DOMAIN}
2022
depends_on:
2123
- memcached
2224
volumes:

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ services:
4444
- PHP_SENDMAIL_PATH=/usr/bin/msmtp --host=mail --port=1025 --read-recipients --read-envelope-from
4545
- DOCKER_HOST_DOMAIN=${COMPOSE_DOMAIN}
4646
- PHP_IDE_CONFIG=serverName=localhost
47+
# Let drush know the site uri (makes using --uri redundant)
48+
- DRUSH_OPTIONS_URI=http://${COMPOSE_DOMAIN}
4749
depends_on:
4850
mariadb:
4951
condition: service_healthy

0 commit comments

Comments
 (0)