Loading docker-compose.yaml +7 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ version: "3.7" services: proxy: build: context: .. context: . target: nginx ports: - "80:80" Loading @@ -13,7 +13,7 @@ services: - media:/app/media backend: build: context: .. context: . args: php_version: "7.4" networks: Loading @@ -40,11 +40,11 @@ services: volumes: - static:/app/static - media:/app/media - ./wait-for.sh:/bin/wait-for - ./fpm-debug.conf:/usr/local/etc/php-fpm.d/debug.conf # - ./php-debug.ini:/usr/local/etc/php/conf.d/debug.ini - ./wp-debug.php:/etc/wordpress/wp-debug.php - ./wp-conf.d:/etc/wordpress/wp-conf.d - ${COMPOSE_BASE}/wait-for.sh:/bin/wait-for - ${COMPOSE_BASE}/fpm-debug.conf:/usr/local/etc/php-fpm.d/debug.conf # - ${COMPOSE_BASE}/php-debug.ini:/usr/local/etc/php/conf.d/debug.ini - ${COMPOSE_BASE}/wp-debug.php:/etc/wordpress/wp-debug.php - ${COMPOSE_BASE}/wp-conf.d:/etc/wordpress/wp-conf.d entrypoint: [/bin/wait-for, /bin/entrypoint] command: [php-fpm] database: Loading run +7 −2 Original line number Diff line number Diff line #!/bin/sh set -eu cd `dirname $0` echo >&2 "Starting Wordpress built from ${PROJECT_DIRECTORY:=$PWD}" export COMPOSE_PROJECT_NAME=wordpress export COMPOSE_DOCKER_CLI_BUILD=1 export COMPOSE_FILE=$(dirname $0)/docker-compose.yaml export COMPOSE_BASE=$(realpath \ --canonicalize-missing --relative-base="$PROJECT_DIRECTORY" "$0/..") export DOCKER_BUILDKIT=1 exec docker-compose up --build exec docker-compose \ --project-directory="$PROJECT_DIRECTORY" \ up --build "$@" Loading
docker-compose.yaml +7 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ version: "3.7" services: proxy: build: context: .. context: . target: nginx ports: - "80:80" Loading @@ -13,7 +13,7 @@ services: - media:/app/media backend: build: context: .. context: . args: php_version: "7.4" networks: Loading @@ -40,11 +40,11 @@ services: volumes: - static:/app/static - media:/app/media - ./wait-for.sh:/bin/wait-for - ./fpm-debug.conf:/usr/local/etc/php-fpm.d/debug.conf # - ./php-debug.ini:/usr/local/etc/php/conf.d/debug.ini - ./wp-debug.php:/etc/wordpress/wp-debug.php - ./wp-conf.d:/etc/wordpress/wp-conf.d - ${COMPOSE_BASE}/wait-for.sh:/bin/wait-for - ${COMPOSE_BASE}/fpm-debug.conf:/usr/local/etc/php-fpm.d/debug.conf # - ${COMPOSE_BASE}/php-debug.ini:/usr/local/etc/php/conf.d/debug.ini - ${COMPOSE_BASE}/wp-debug.php:/etc/wordpress/wp-debug.php - ${COMPOSE_BASE}/wp-conf.d:/etc/wordpress/wp-conf.d entrypoint: [/bin/wait-for, /bin/entrypoint] command: [php-fpm] database: Loading
run +7 −2 Original line number Diff line number Diff line #!/bin/sh set -eu cd `dirname $0` echo >&2 "Starting Wordpress built from ${PROJECT_DIRECTORY:=$PWD}" export COMPOSE_PROJECT_NAME=wordpress export COMPOSE_DOCKER_CLI_BUILD=1 export COMPOSE_FILE=$(dirname $0)/docker-compose.yaml export COMPOSE_BASE=$(realpath \ --canonicalize-missing --relative-base="$PROJECT_DIRECTORY" "$0/..") export DOCKER_BUILDKIT=1 exec docker-compose up --build exec docker-compose \ --project-directory="$PROJECT_DIRECTORY" \ up --build "$@"