@@ -25,12 +25,9 @@ services:
2525 - MYSQL_PASSWORD=db
2626 - MYSQL_DATABASE=db
2727 # - ENCRYPT=1 # Uncomment to enable database encryption.
28- # https://symfony.com/doc/current/setup/symfony_server.html#docker-integration
29- labels :
30- com.symfony.server.service-prefix : ' DATABASE'
3128
3229 phpfpm :
33- image : itkdev/php8.3 -fpm:latest
30+ image : itkdev/php8.4 -fpm:latest
3431 user : ${COMPOSE_USER:-deploy}
3532 networks :
3633 - app
@@ -44,6 +41,7 @@ services:
4441 - PHP_SENDMAIL_PATH=/usr/bin/msmtp --host=mail --port=1025 --read-recipients --read-envelope-from
4542 - DOCKER_HOST_DOMAIN=${COMPOSE_DOMAIN}
4643 - PHP_IDE_CONFIG=serverName=localhost
44+ # Let drush know the site uri (makes using --uri redundant)
4745 - DRUSH_OPTIONS_URI=http://${COMPOSE_DOMAIN}
4846 depends_on :
4947 mariadb :
@@ -74,9 +72,9 @@ services:
7472 - " traefik.enable=true"
7573 - " traefik.docker.network=frontend"
7674 - " traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host(`${COMPOSE_DOMAIN}`)"
77- # HTTPS config - uncomment to enable redirect from :80 to :443
78- # - "traefik.http.routers.${COMPOSE_PROJECT_NAME}.middlewares=redirect-to-https"
79- # - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
75+ # HTTPS config - enable redirect from :80 to :443
76+ - " traefik.http.routers.${COMPOSE_PROJECT_NAME}.middlewares=redirect-to-https"
77+ - " traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
8078
8179 memcached :
8280 image : memcached:alpine
0 commit comments