-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
111 lines (103 loc) · 4.86 KB
/
docker-compose.override.yml
File metadata and controls
111 lines (103 loc) · 4.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
services:
mssqllocaldb:
container_name: mssqllocaldb
environment:
SA_PASSWORD: "${MSSQL_SA_PASSWORD}"
ACCEPT_EULA: "Y"
expose:
- "${MSSQL_PORT}"
user: root
volumes:
- "${MSSQL_DATA_VOLUME}:/var/opt/mssql/data"
- "${MSSQL_BACKUPS_VOLUME}:/var/opt/mssql/backups"
front:
build:
context: ./hwproj.front
dockerfile: ./Dockerfile
args:
- VITE_YANDEX_METRICA_ID=${YANDEX_METRICA_ID}
rabbitmq:
container_name: rabbitmq
#environment:
#- RABBITMQ_DEFAULT_USER=guest
#- RABBITMQ_DEFAULT_PASS=guest
expose:
- "${RABBITMQ_5672_PORT}"
- "${RABBITMQ_15672_PORT}"
hwproj.apigateway.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5000
- Services:Auth=http://hwproj.authservice.api
- Services:Courses=http://hwproj.coursesservice.api
- Services:Solutions=http://hwproj.solutionsservice.api
- Services:Notifications=http://hwproj.notificationsservice.api
- Services:Content=http://hwproj.contentservice.api
- EPPlus:ExcelPackage:LicenseContext=NonCommercial
- GoogleSheets:type=service_account
- GoogleSheets:project_id=${GOOGLE_SHEETS_PROJECT_ID}
- GoogleSheets:private_key_id=${GOOGLE_SHEETS_PRIVATE_KEY_ID}
- GoogleSheets:client_email=${GOOGLE_SHEETS_CLIENT_EMAIL}
- GoogleSheets:client_id=${GOOGLE_SHEETS_CLIENT_ID}
- GoogleSheets:auth_uri=https://accounts.google.com/o/oauth2/auth
- GoogleSheets:token_uri=https://oauth2.googleapis.com/token
- GoogleSheets:auth_provider_x509_cert_url=https://www.googleapis.com/oauth2/v1/certs
- GoogleSheets:client_x509_cert_url=${GOOGLE_SHEETS_CLIENT_X509_CERT_URL}
- GoogleSheets:private_key=${GOOGLE_SHEETS_PRIVATE_KEY}
- Security:SecurityKey=${AUTH_SERVICE_SECURITY_KEY}
ports:
- "127.0.0.1:5000:5000"
hwproj.authservice.api:
environment:
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=AuthServiceDB;User=sa;Password=Your_password123;TrustServerCertificate=true;
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://+:80
- EventBus:EventBusHostName=rabbitmq
- AppSettings:SecurityKey=${AUTH_SERVICE_SECURITY_KEY}
- Github:ClientIdGithub=${GITHUB_CLIENT_ID}
- Github:ClientSecretGithub=${GITHUB_CLIENT_SECRET}
- Github:ScopeGitHub=read:user
- Gtihub:OrganizationNameGithub=${GITHUB_ORGANIZATION_NAME}
hwproj.coursesservice.api:
environment:
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=CourseWorksServiceDB;MultipleActiveResultSets=True;User=sa;Password=Your_password123;TrustServerCertificate=true;
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://+:80
- EventBus:EventBusHostName=rabbitmq
- Services:Auth=http://hwproj.authservice.api
- Services:Content=http://hwproj.contentservice.api
hwproj.notificationsservice.api:
environment:
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=NotificationsServiceDB;MultipleActiveResultSets=True;User=sa;Password=Your_password123;TrustServerCertificate=true;
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://+:80
- EventBus:EventBusHostName=rabbitmq
- Services:Auth=http://hwproj.authservice.api
- Services:Courses=http://hwproj.coursesservice.api
- Services:Solutions=http://hwproj.solutionsservice.api
- Notification:Mail=${NOTIFICATION_MAIL}
- Notification:ConnectSite=${NOTIFICATION_CONNECT_SITE}
- Notification:Password=${NOTIFICATION_PASSWORD}
- Notification:Url=https://hwproj.ru
hwproj.solutionsservice.api:
environment:
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=SolutionServiceDB;User=sa;Password=Your_password123;
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_HTTP_PORTS=80
- EventBus:EventBusHostName=rabbitmq
- Services:Auth=http://hwproj.authservice.api
- Services:Courses=http://hwproj.coursesservice.api
- Github:Token=${GITHUB_TOKEN}
hwproj.contentservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_HTTP_PORTS=80
- EventBus:EventBusHostName=rabbitmq
- Services:Auth=http://hwproj.authservice.api
- ExternalStorageConfiguration:AccessKeyId=${STORAGE_CLIENT_ACCESS_KEY_ID}
- ExternalStorageConfiguration:SecretKey=${STORAGE_CLIENT_SECRET_KEY}
- ExternalStorageConfiguration:Region=ru-central1
- ExternalStorageConfiguration:ServiceURL=https://storage.yandexcloud.net
- ExternalStorageConfiguration:DefaultBucketName=hwproj-content
- LocalStorageConfiguration:Path=/app/data/
- ConnectionStrings:DefaultConnectionForLinux=Server=mssqllocaldb;Database=ContentServiceDB;User=sa;Password=Your_password123;TrustServerCertificate=true;