Skip to content

Commit 56226a4

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

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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: 2 additions & 2 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}
@@ -95,6 +95,6 @@ services:
9595
depends_on:
9696
- mautic_web
9797
ports:
98-
- 127.0.0.1:80:80
98+
- 127.0.0.1:${MAUTIC_HTTP_PORT:-80}:80
9999
networks:
100100
- default

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)