Open mmmikko opened 11 months ago
if you want to change php version you should update PHP_TAG
in .env
instead docker-compose.yml
. The 7.4 version no longer supported so you will get the error with the latest stability tag, you should find the last tag that still had PHP 7.4 support https://github.com/wodby/php/tags. Also you should update nginx's vhost preset env var
Thank you!
Codebase mounted codebase (old website with Drupal 8 and Php 7.4)
Describe your issue I have tried to follow documentation, but I don't understand how to set Php version to 7.4., I run into problems if I only edit the php version from docker-compose.yml like this: php: image: wodby/drupal-php:7.4
Output of
docker info
version: "3.7"
services: mariadb: image: wodby/mariadb:$MARIADB_TAG container_name: "${PROJECT_NAME}_mariadb" stop_grace_period: 30s environment: MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD MYSQL_DATABASE: $DB_NAME MYSQL_USER: $DB_USER MYSQL_PASSWORD: $DB_PASSWORD php: image: wodby/drupal-php:7.4 container_name: "${PROJECT_NAME}_php" environment: SSMTP_MAILHUB: mailhog:1025 PHP_SENDMAIL_PATH: '"/usr/bin/dos2unix -u | /usr/sbin/ssmtp -t -f"' gpu","--headless"]}}, "http://chrome:9515"]' volumes:
"traefik.http.routers.${PROJECT_NAME}_nginx.rule=Host(
${PROJECT_BASE_URL}
)"mailhog: image: mailhog/mailhog container_name: "${PROJECT_NAME}_mailhog" labels:
mailhog.${PROJECT_BASE_URL}
)" traefik: image: traefik:v2.0 container_name: "${PROJECT_NAME}_traefik" command: --api.insecure=true --providers.docker ports:Contents of your
.env
Logs output
docker-compose logs