Skip to content

Commit

Permalink
fix: http port
Browse files Browse the repository at this point in the history
only need to stay at http service, fpm haven't http port and need to be
possible change the http port without changing the docker-compose file

Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed Dec 16, 2024
1 parent 2dde2df commit 9d5fb32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/basic/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ services:
mysql:
condition: service_healthy
ports:
- 127.0.0.1:80:80
- 127.0.0.1:${MAUTIC_HTTP_PORT:-80}:80

mautic_cron:
image: ghcr.io/librecodecoop/mautic:${MAUTIC_VERSION:-5.x-dev}-${IMAGE_TYPE:-apache}
Expand Down
4 changes: 1 addition & 3 deletions examples/fpm-nginx/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ services:
depends_on:
mysql:
condition: service_healthy
ports:
- 127.0.0.1:80:80

mautic_cron:
image: ghcr.io/librecodecoop/mautic:${MAUTIC_VERSION:-5.x-dev}-${IMAGE_TYPE:-fpm}
Expand Down Expand Up @@ -95,6 +93,6 @@ services:
depends_on:
- mautic_web
ports:
- 127.0.0.1:80:80
- 127.0.0.1:${MAUTIC_HTTP_PORT:-80}:80
networks:
- default
2 changes: 1 addition & 1 deletion examples/rabbitmq-worker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ services:
mysql:
condition: service_healthy
ports:
- 127.0.0.1:80:80
- 127.0.0.1:${MAUTIC_HTTP_PORT:-80}:80

mautic_cron:
image: ghcr.io/librecodecoop/mautic:${MAUTIC_VERSION:-5.x-dev}-${IMAGE_TYPE:-apache}
Expand Down

0 comments on commit 9d5fb32

Please sign in to comment.