There was an error while loading. Please reload this page.
1 parent 70c2792 commit 9fa66caCopy full SHA for 9fa66ca
1 file changed
dockerfiles/docker-compose.yml
@@ -403,8 +403,10 @@ services:
403
# image). Bind-mounted onto PATH inside each build container.
404
- RTD_HOST_RCLONE_PATH=${PWD}/${RTDDEV_PATH_BUILDER:-../readthedocs-builder}/rclone/rclone
405
# Have build containers join the compose network so they can
406
- # reach the API at ``http://web`` via service-name DNS.
407
- - RTD_BUILD_NETWORK=community_readthedocs
+ # reach the API at ``http://web`` via service-name DNS. Derived from the
+ # compose project so it's correct for both community (``community``) and
408
+ # commercial (``commercial``) — a hardcoded value breaks the other env.
409
+ - RTD_BUILD_NETWORK=${COMPOSE_PROJECT_NAME}_readthedocs
410
stdin_open: true
411
tty: true
412
networks:
0 commit comments