Skip to content

Commit d13071f

Browse files
committed
Docker
1 parent 1462778 commit d13071f

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

docker-compose.override.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,28 @@ services:
5656
environment:
5757
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=AuthServiceDB;User=sa;Password=Your_password123;TrustServerCertificate=true;
5858
- ASPNETCORE_ENVIRONMENT=Production
59-
- ASPNETCORE_URLS=http://+:5001
59+
- ASPNETCORE_HTTP_PORTS=80
6060
- EventBus:EventBusHostName=rabbitmq
6161
- AppSettings:SecurityKey=${AUTH_SERVICE_SECURITY_KEY}
6262
- Github:ClientIdGithub=${GITHUB_CLIENT_ID}
6363
- Github:ClientSecretGithub=${GITHUB_CLIENT_SECRET}
6464
- Github:ScopeGitHub=read:user
6565
- Gtihub:OrganizationNameGithub=${GITHUB_ORGANIZATION_NAME}
66-
expose:
67-
- "5001"
6866

6967
hwproj.coursesservice.api:
7068
environment:
7169
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=CourseWorksServiceDB;MultipleActiveResultSets=True;User=sa;Password=Your_password123;
7270
- ASPNETCORE_ENVIRONMENT=Production
73-
- ASPNETCORE_URLS=http://+:5002
71+
- ASPNETCORE_HTTP_PORTS=80
7472
- EventBus:EventBusHostName=rabbitmq
7573
- Services:Auth=http://hwproj.authservice.api
7674
- Services:Content=http://hwproj.contentservice.api
77-
expose:
78-
- "5002"
7975

8076
hwproj.notificationsservice.api:
8177
environment:
8278
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=NotificationsServiceDB;MultipleActiveResultSets=True;User=sa;Password=Your_password123;
8379
- ASPNETCORE_ENVIRONMENT=Production
84-
- ASPNETCORE_URLS=http://+:5006
80+
- ASPNETCORE_HTTP_PORTS=80
8581
- EventBus:EventBusHostName=rabbitmq
8682
- Services:Auth=http://hwproj.authservice.api
8783
- Services:Courses=http://hwproj.coursesservice.api
@@ -90,25 +86,21 @@ services:
9086
- Notification:ConnectSite=${NOTIFICATION_CONNECT_SITE}
9187
- Notification:Password=${NOTIFICATION_PASSWORD}
9288
- Notification:Url=https://hwproj.ru
93-
expose:
94-
- "5006"
9589

9690
hwproj.solutionsservice.api:
9791
environment:
9892
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=SolutionServiceDB;User=sa;Password=Your_password123;
9993
- ASPNETCORE_ENVIRONMENT=Production
100-
- ASPNETCORE_URLS=http://+:5007
94+
- ASPNETCORE_HTTP_PORTS=80
10195
- EventBus:EventBusHostName=rabbitmq
10296
- Services:Auth=http://hwproj.authservice.api
10397
- Services:Courses=http://hwproj.coursesservice.api
10498
- Github:Token=${GITHUB_TOKEN}
105-
expose:
106-
- "5007"
10799

108100
hwproj.contentservice.api:
109101
environment:
110-
- ASPNETCORE_ENVIRONMENT=Development
111-
- ASPNETCORE_URLS=http://+:5008
102+
- ASPNETCORE_ENVIRONMENT=Production
103+
- ASPNETCORE_HTTP_PORTS=80
112104
- EventBus:EventBusHostName=rabbitmq
113105
- Services:Auth=http://hwproj.authservice.api
114106
- ExternalStorageConfiguration:AccessKeyId=${STORAGE_CLIENT_ACCESS_KEY_ID}
@@ -118,5 +110,3 @@ services:
118110
- ExternalStorageConfiguration:DefaultBucketName=hwproj-content
119111
- LocalStorageConfiguration:Path=/app/data/
120112
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=ContentServiceDB;User=sa;Password=Your_password123;TrustServerCertificate=true;
121-
ports:
122-
- "5008"

0 commit comments

Comments
 (0)