Skip to content

Commit

Permalink
[Docker] Adjust configuration for Sylius 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojdylak committed Dec 18, 2024
1 parent 857170c commit 33fef79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 175 deletions.
171 changes: 0 additions & 171 deletions Dockerfile

This file was deleted.

6 changes: 4 additions & 2 deletions compose.override.dist.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
php:
image: ghcr.io/sylius/sylius-php:8.2-fixuid-xdebug-alpine
image: ghcr.io/sylius/sylius-php:8.3-fixuid-xdebug-alpine
user: ${DOCKER_USER:-1000:1000}
depends_on:
mysql:
Expand All @@ -16,6 +16,8 @@ services:
SYLIUS_MESSENGER_TRANSPORT_MAIN_FAILED_DSN: doctrine://default?queue_name=main_failed
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_DSN: doctrine://default?queue_name=catalog_promotion_removal
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_FAILED_DSN: doctrine://default?queue_name=catalog_promotion_removal_failed
SYLIUS_MESSENGER_TRANSPORT_PAYMENT_REQUEST_DSN: sync://
SYLIUS_MESSENGER_TRANSPORT_PAYMENT_REQUEST_FAILED_DSN: sync://
PHP_DATE_TIMEZONE: ${PHP_DATE_TIMEZONE:-UTC}
XDEBUG_MODE: debug
XDEBUG_CONFIG: >-
Expand Down Expand Up @@ -49,7 +51,7 @@ services:
ports:
- "80:80"
nodejs:
image: node:${NODE_VERSION:-20}-alpine
image: node:${NODE_VERSION:-22}-alpine
user: ${DOCKER_USER:-1000:1000}
working_dir: /srv/sylius
entrypoint: [ "/bin/sh","-c" ]
Expand Down
4 changes: 2 additions & 2 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
services:
php:
image: ghcr.io/sylius/sylius-php:8.2-alpine
image: ghcr.io/sylius/sylius-php:8.3-alpine
mysql:
image: mysql:8.0
image: mysql:8.4
platform: linux/amd64
healthcheck:
test: '/usr/bin/mysql --execute "SHOW databases;"'
Expand Down

0 comments on commit 33fef79

Please sign in to comment.