Skip to content

Commit a379709

Browse files
committed
Docker: ports
1 parent d884b7b commit a379709

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docker-compose.override.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ services:
44
environment:
55
SA_PASSWORD: "${MSSQL_SA_PASSWORD}"
66
ACCEPT_EULA: "Y"
7+
expose:
8+
- "${MSSQL_PORT}"
79
user: root
810
volumes:
911
- "${MSSQL_DATA_VOLUME}:/var/opt/mssql/data"
@@ -22,6 +24,9 @@ services:
2224
#environment:
2325
#- RABBITMQ_DEFAULT_USER=guest
2426
#- RABBITMQ_DEFAULT_PASS=guest
27+
expose:
28+
- "${RABBITMQ_5672_PORT}"
29+
- "${RABBITMQ_15672_PORT}"
2530

2631
hwproj.apigateway.api:
2732
environment:
@@ -57,6 +62,8 @@ services:
5762
- Github:ClientSecretGithub=${GITHUB_CLIENT_SECRET}
5863
- Github:ScopeGitHub=read:user
5964
- Gtihub:OrganizationNameGithub=${GITHUB_ORGANIZATION_NAME}
65+
expose:
66+
- "5001"
6067

6168
hwproj.coursesservice.api:
6269
environment:
@@ -65,6 +72,8 @@ services:
6572
- EventBus:EventBusHostName=rabbitmq
6673
- Services:Auth=http://hwproj.authservice.api
6774
- Services:Content=http://hwproj.contentservice.api
75+
expose:
76+
- "5002"
6877

6978
hwproj.notificationsservice.api:
7079
environment:
@@ -78,6 +87,8 @@ services:
7887
- Notification:ConnectSite=${NOTIFICATION_CONNECT_SITE}
7988
- Notification:Password=${NOTIFICATION_PASSWORD}
8089
- Notification:Url=https://hwproj.ru
90+
expose:
91+
- "5006"
8192

8293
hwproj.solutionsservice.api:
8394
environment:
@@ -87,11 +98,12 @@ services:
8798
- Services:Auth=http://hwproj.authservice.api
8899
- Services:Courses=http://hwproj.coursesservice.api
89100
- Github:Token=${GITHUB_TOKEN}
101+
expose:
102+
- "5007"
90103

91104
hwproj.contentservice.api:
92105
environment:
93106
- ASPNETCORE_ENVIRONMENT=Development
94-
- ASPNETCORE_HTTP_PORTS=80
95107
- EventBus:EventBusHostName=rabbitmq
96108
- Services:Auth=http://hwproj.authservice.api
97109
- ExternalStorageConfiguration:AccessKeyId=${STORAGE_CLIENT_ACCESS_KEY_ID}
@@ -101,3 +113,5 @@ services:
101113
- ExternalStorageConfiguration:DefaultBucketName=hwproj-content
102114
- LocalStorageConfiguration:Path=/app/data/
103115
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=ContentServiceDB;User=sa;Password=Your_password123;TrustServerCertificate=true;
116+
ports:
117+
- "5008"

0 commit comments

Comments
 (0)