fix ports
This commit is contained in:
@@ -106,7 +106,7 @@ services:
|
||||
- ./php-fpm/php${PHP_VERSION}.ini:/usr/local/etc/php/php.ini
|
||||
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG}
|
||||
ports:
|
||||
- "${PHP_FPM_XDEBUG_PORT}:9003"
|
||||
- "${PHP_FPM_XDEBUG_PORT:-9003}:9003"
|
||||
expose:
|
||||
- "9000"
|
||||
extra_hosts:
|
||||
@@ -179,7 +179,7 @@ services:
|
||||
- ${NGINX_SITES_PATH}:/etc/nginx/sites-available
|
||||
- ${NGINX_SSL_PATH}:/etc/nginx/ssl
|
||||
ports:
|
||||
- "127.0.0.1:${NGINX_HOST_HTTP_PORT}:80"
|
||||
- "127.0.0.1:${NGINX_HOST_HTTP_PORT:-1080}:80"
|
||||
depends_on:
|
||||
- php-fpm
|
||||
networks:
|
||||
@@ -208,7 +208,7 @@ services:
|
||||
- ${DATA_PATH_HOST}/mysql:/var/lib/mysql
|
||||
- ${MYSQL_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- "${MYSQL_PORT}:3306"
|
||||
- "${MYSQL_PORT:-3306}:3306"
|
||||
networks:
|
||||
- backend
|
||||
|
||||
@@ -228,7 +228,7 @@ services:
|
||||
- ${DATA_PATH_HOST}/mysql-slave1:/var/lib/mysql
|
||||
- ${MYSQL_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- "3306:3306"
|
||||
- "${MYSQL_SLAVE_PORT:-3306}:3306"
|
||||
networks:
|
||||
- backend
|
||||
|
||||
@@ -240,7 +240,7 @@ services:
|
||||
- ${DATA_PATH_HOST}/redis:/data
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
ports:
|
||||
- "${REDIS_PORT}:6379"
|
||||
- "${REDIS_PORT:-6379}:6379"
|
||||
networks:
|
||||
- backend
|
||||
|
||||
@@ -249,7 +249,7 @@ services:
|
||||
restart: always
|
||||
build: ./smtp
|
||||
ports:
|
||||
- "${SMTP_PORT}:25"
|
||||
- "${SMTP_PORT:-25}:25"
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
@@ -267,7 +267,7 @@ services:
|
||||
- MEMORY_LIMIT=${PMA_MEMORY_LIMIT}
|
||||
- UPLOAD_LIMIT=${PMA_UPLOAD_LIMIT}
|
||||
ports:
|
||||
- "${PMA_PORT}:80"
|
||||
- "${PMA_PORT:-1081}:80"
|
||||
depends_on:
|
||||
- "${PMA_DB_ENGINE}"
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user