Change inbucket default port from 10080 to 9001 (#18145)

Этот коммит содержится в:
Devin Binnie
2021-08-18 09:31:25 -04:00
коммит произвёл GitHub
родитель 2547e47eab
Коммит 0dbaa48741
10 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@@ -28,7 +28,7 @@ func main() {
"mysql": 3306, "mysql": 3306,
"postgres": 5432, "postgres": 5432,
"minio": 9000, "minio": 9000,
"inbucket": 10080, "inbucket": 9001,
"openldap": 389, "openldap": 389,
"elasticsearch": 9200, "elasticsearch": 9200,
"dejavu": 1358, "dejavu": 1358,

Просмотреть файл

@@ -68,7 +68,7 @@ services:
image: "inbucket/inbucket:stable" image: "inbucket/inbucket:stable"
restart: always restart: always
environment: environment:
INBUCKET_WEB_ADDR: "0.0.0.0:10080" INBUCKET_WEB_ADDR: "0.0.0.0:9001"
INBUCKET_POP3_ADDR: "0.0.0.0:10110" INBUCKET_POP3_ADDR: "0.0.0.0:10110"
INBUCKET_SMTP_ADDR: "0.0.0.0:10025" INBUCKET_SMTP_ADDR: "0.0.0.0:10025"
networks: networks:

Просмотреть файл

@@ -58,7 +58,7 @@ services:
- elasticsearch - elasticsearch
- prometheus - prometheus
- grafana - grafana
command: postgres:5432 mysql:3306 minio:9000 inbucket:10080 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000 command: postgres:5432 mysql:3306 minio:9000 inbucket:9001 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000
networks: networks:
mm-test: mm-test:

Просмотреть файл

@@ -5,7 +5,7 @@ GOBIN=/mattermost/mattermost-server/bin
CI_INBUCKET_HOST=inbucket CI_INBUCKET_HOST=inbucket
CI_MINIO_HOST=minio CI_MINIO_HOST=minio
CI_INBUCKET_PORT=10080 CI_INBUCKET_PORT=9001
CI_MINIO_PORT=9000 CI_MINIO_PORT=9000
CI_INBUCKET_SMTP_PORT=10025 CI_INBUCKET_SMTP_PORT=10025
CI_LDAP_HOST=openldap CI_LDAP_HOST=openldap

Просмотреть файл

@@ -11,7 +11,7 @@ services:
image: ${CI_REGISTRY}/mattermost/ci/images/inbucket:v3.0.0-rc1-2-gc64e7a6-1 image: ${CI_REGISTRY}/mattermost/ci/images/inbucket:v3.0.0-rc1-2-gc64e7a6-1
restart: always restart: always
environment: environment:
INBUCKET_WEB_ADDR: "0.0.0.0:10080" INBUCKET_WEB_ADDR: "0.0.0.0:9001"
INBUCKET_POP3_ADDR: "0.0.0.0:10110" INBUCKET_POP3_ADDR: "0.0.0.0:10110"
INBUCKET_SMTP_ADDR: "0.0.0.0:10025" INBUCKET_SMTP_ADDR: "0.0.0.0:10025"
openldap: openldap:

Просмотреть файл

@@ -92,7 +92,7 @@ services:
- elasticsearch - elasticsearch
- prometheus - prometheus
- grafana - grafana
command: mysql:3306 minio:9000 inbucket:10080 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000 command: mysql:3306 minio:9000 inbucket:9001 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000
networks: networks:
default: default:

Просмотреть файл

@@ -90,7 +90,7 @@ services:
- elasticsearch - elasticsearch
- prometheus - prometheus
- grafana - grafana
command: postgres:5432 minio:9000 inbucket:10080 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000 command: postgres:5432 minio:9000 inbucket:9001 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000
networks: networks:
default: default:

Просмотреть файл

@@ -36,8 +36,8 @@ services:
restart: 'no' restart: 'no'
container_name: mattermost-inbucket container_name: mattermost-inbucket
ports: ports:
- "9001:9001"
- "10025:10025" - "10025:10025"
- "10080:10080"
- "10110:10110" - "10110:10110"
extends: extends:
file: build/docker-compose.common.yml file: build/docker-compose.common.yml

Просмотреть файл

@@ -31,8 +31,8 @@ services:
inbucket: inbucket:
container_name: mattermost-inbucket container_name: mattermost-inbucket
ports: ports:
- "9001:9001"
- "10025:10025" - "10025:10025"
- "10080:10080"
- "10110:10110" - "10110:10110"
extends: extends:
file: build/docker-compose.common.yml file: build/docker-compose.common.yml
@@ -95,7 +95,7 @@ services:
- elasticsearch - elasticsearch
- prometheus - prometheus
- grafana - grafana
command: postgres:5432 mysql:3306 minio:9000 inbucket:10080 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000 command: postgres:5432 mysql:3306 minio:9000 inbucket:9001 openldap:389 elasticsearch:9200 prometheus:9090 grafana:3000
leader: leader:
build: build:

Просмотреть файл

@@ -183,7 +183,7 @@ func getInbucketHost() (host string) {
inbucket_port := os.Getenv("CI_INBUCKET_PORT") inbucket_port := os.Getenv("CI_INBUCKET_PORT")
if inbucket_port == "" { if inbucket_port == "" {
inbucket_port = "10080" inbucket_port = "9001"
} }
return fmt.Sprintf("http://%s:%s", inbucket_host, inbucket_port) return fmt.Sprintf("http://%s:%s", inbucket_host, inbucket_port)
} }