Skip to content

Commit 8bda749

Browse files
committed
chore: customize db port
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 2dde2df commit 8bda749

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

examples/basic/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
- ./volumes/mysql/init:/docker-entrypoint-initdb.d
2525
- ./volumes/mysql/data:/var/lib/mysql
2626
ports:
27-
- 127.0.0.1:3306:3306
27+
- 127.0.0.1:${MAUTIC_EXPOSED_DB_PORT:-3306}:3306
2828
restart: unless-stopped
2929
environment:
3030
- TZ=${TZ:-CET}

examples/fpm-nginx/docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
- ./volumes/mysql/init:/docker-entrypoint-initdb.d
2525
- ./volumes/mysql/data:/var/lib/mysql
2626
ports:
27-
- 127.0.0.1:3306:3306
27+
- 127.0.0.1:${MAUTIC_EXPOSED_DB_PORT:-3306}:3306
2828
restart: unless-stopped
2929
environment:
3030
- TZ=${TZ:-CET}
@@ -58,8 +58,6 @@ services:
5858
depends_on:
5959
mysql:
6060
condition: service_healthy
61-
ports:
62-
- 127.0.0.1:80:80
6361

6462
mautic_cron:
6563
image: ghcr.io/librecodecoop/mautic:${MAUTIC_VERSION:-5.x-dev}-${IMAGE_TYPE:-fpm}

examples/rabbitmq-worker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525
- ./volumes/mysql/init:/docker-entrypoint-initdb.d
2626
- ./volumes/mysql/data:/var/lib/mysql
2727
ports:
28-
- 127.0.0.1:3306:3306
28+
- 127.0.0.1:${MAUTIC_EXPOSED_DB_PORT:-3306}:3306
2929
environment:
3030
- TZ=${TZ:-CET}
3131
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}

0 commit comments

Comments
 (0)