Skip to content

Commit

Permalink
Merge pull request #1004 from piotrkwiecinski/platform-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
markshust authored Nov 21, 2023
2 parents ed64164 + a0f44cd commit 65e1f5a
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 226 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/build-opensearch-1.2.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/build-opensearch-2.4.yml

This file was deleted.

33 changes: 2 additions & 31 deletions .github/workflows/build-opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,7 @@ name: build-opensearch
on: workflow_dispatch

jobs:
opensearch-1-2:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: images/opensearch/1.2
platforms: linux/amd64,linux/arm64
push: true
tags: |
markoshust/magento-opensearch:1.2
markoshust/magento-opensearch:1.2-0
opensearch-2-4:
opensearch-2-5:
runs-on: ubuntu-latest
steps:
-
Expand All @@ -59,4 +30,4 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
markoshust/magento-opensearch:2.4-develop
markoshust/magento-opensearch:2.5-0
3 changes: 2 additions & 1 deletion .github/workflows/build-php-8.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
markoshust/magento-php:8.2-fpm-develop
markoshust/magento-php:8.2-fpm
markoshust/magento-php:8.2-fpm-0
3 changes: 2 additions & 1 deletion .github/workflows/build-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
markoshust/magento-php:8.2-fpm-develop
markoshust/magento-php:8.2-fpm
markoshust/magento-php:8.2-fpm-0
29 changes: 29 additions & 0 deletions .github/workflows/build-rabbitmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,32 @@ jobs:
tags: |
markoshust/magento-rabbitmq:3.9
markoshust/magento-rabbitmq:3.9-0
rabbitmq-3-11:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: images/rabbitmq/3.9
platforms: linux/amd64,linux/arm64
push: true
tags: |
markoshust/magento-rabbitmq:3.11
markoshust/magento-rabbitmq:3.11-0
121 changes: 0 additions & 121 deletions compose/compose.commerce246beta.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions compose/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ services:
#- "host.docker.internal:host-gateway"

phpfpm:
image: markoshust/magento-php:8.1-fpm-1
image: markoshust/magento-php:8.2-fpm-0
volumes: *appvolumes
env_file: env/phpfpm.env
#extra_hosts: *appextrahosts

db:
image: mariadb:10.4
image: mariadb:10.6
command:
--max_allowed_packet=64M
--optimizer_use_condition_selectivity=1
Expand All @@ -50,12 +50,12 @@ services:
- dbdata:/var/lib/mysql

redis:
image: redis:6.2-alpine
image: redis:7.0-alpine
ports:
- "6379:6379"

opensearch:
image: markoshust/magento-opensearch:1.2-0
image: markoshust/magento-opensearch:2.5-0
ports:
- "9200:9200"
- "9300:9300"
Expand Down Expand Up @@ -86,7 +86,7 @@ services:
# - "index.blocks.read_only_allow_delete"

rabbitmq:
image: markoshust/magento-rabbitmq:3.9-0
image: markoshust/magento-rabbitmq:3.11-0
ports:
- "15672:15672"
- "5672:5672"
Expand Down
5 changes: 5 additions & 0 deletions images/opensearch/2.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM opensearchproject/opensearch:2.5.0

RUN /usr/share/opensearch/bin/opensearch-plugin install --batch \
analysis-icu \
analysis-phonetic
3 changes: 3 additions & 0 deletions images/rabbitmq/3.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM rabbitmq:3.11-management-alpine

COPY conf/rabbitmq.conf /etc/rabbitmq/rabbitmq.conf
1 change: 1 addition & 0 deletions images/rabbitmq/3.11/conf/rabbitmq.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vm_memory_high_watermark.absolute = 1GB

0 comments on commit 65e1f5a

Please sign in to comment.