-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
166 lines (155 loc) · 5.01 KB
/
docker-compose.yml
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
version: "3.4"
volumes:
azurite: {}
ideamachine_sql: {}
seq: {}
networks:
ideamachinenetwork: {}
services:
nginx.ingress:
image: nginx
container_name: ideamachine.nginx
labels:
- ideamachinecompose
networks:
- ideamachinenetwork
ports:
- 1253:443
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./Scripts/Docker/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./Scripts/Docker/nginx/cert:/etc/nginx/cert
ideamachineweb:
image: ${DOCKER_REGISTRY-}ideamachineweb
container_name: ideamachineweb
labels:
- ideamachinecompose
networks:
- ideamachinenetwork
build:
context: .
dockerfile: Services/IdeaMachineWeb/Dockerfile
environment:
ASPNETCORE_URLS: "http://+:80"
DbConnectionString: "Server=tcp:ideamachine.sql,1433;User ID=SA;Password=^dEbX2Ew;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;"
RabbitMqSettings__BrokerAddress: ideamachine.rabbitmq
RabbitMqSettings__UserName: ideamachine
RabbitMqSettings__Password: ideamachine
BlobStorageConnection: AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;DefaultEndpointsProtocol=https;BlobEndpoint=https://ideamachine.azurite:10000/devstoreaccount1;QueueEndpoint=https://ideamachine.azurite:10001/devstoreaccount1;TableEndpoint=https://ideamachine.azurite:10002/devstoreaccount1
GmailUserName: "ideamachinenews@gmail.com"
Seq_Server: "http://ideamachine.seq:5341"
DeploymentLink: "https://localhost:1253/"
RedisConnectionString: "ideamachine.redis:6379"
volumes:
- /Keys/Storage:/keys/storage
depends_on:
- ideamachine.sql
- ideamachine.rabbitmq
ideamachine.accountservice:
image: ${DOCKER_REGISTRY-}ideamachineaccountservice
container_name: ideamachine.accountservice
labels:
- ideamachinecompose
networks:
- ideamachinenetwork
build:
context: .
dockerfile: Services/IdeaMachine.AccountService/Dockerfile
environment:
ASPNETCORE_URLS: "http://+:80"
DbConnectionString: "Server=tcp:ideamachine.sql,1433;User ID=SA;Password=^dEbX2Ew;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;"
RabbitMqSettings__BrokerAddress: ideamachine.rabbitmq
RabbitMqSettings__UserName: ideamachine
RabbitMqSettings__Password: ideamachine
IdeaMachine_RabbitMq: ideamachine.rabbitmq
Seq_Server: "http://ideamachine.seq:5341"
RedisConnectionString: "ideamachine.redis:6379"
volumes:
- /Keys/Storage:/keys/storage
depends_on:
- ideamachine.sql
- ideamachine.rabbitmq
ideamachine.sql:
image: ideamachinesql
container_name: ideamachine.sql
build:
context: Scripts/Docker/mssql
dockerfile: ./Dockerfile
labels:
- ideamachinecompose
networks:
- ideamachinenetwork
ports:
- "1433:1433"
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "^dEbX2Ew"
volumes:
- ideamachine_sql:/var/opt/mssql
- ./Scripts/Docker/mssql:/scripts
restart: unless-stopped
ideamachine.seq:
image: datalust/seq:latest
container_name: ideamachine.seq
labels:
- ideamachinecompose
networks:
- ideamachinenetwork
ports:
- "5341:80"
environment:
ACCEPT_EULA: "Y"
volumes:
- seq:/data
ideamachine.rabbitmq:
image: ideamachinerabbitmq
container_name: ideamachine.rabbitmq
labels:
- ideamachinecompose
build:
context: Scripts/Docker/rabbitmq
dockerfile: Dockerfile
networks:
- ideamachinenetwork
ports:
- "15672:15672"
ideamachine.azurite:
image: mcr.microsoft.com/azure-storage/azurite:3.14.0
container_name: ideamachine.azurite
networks:
- ideamachinenetwork
ports:
- "10000:10000"
- "10001:10001"
- "10002:10002"
entrypoint: "azurite --loose -l /data --oauth=basic --cert=/azuriteDir/azuriteCert.crt --key=/azuriteDir/azuriteKey.pem --blobPort 10000 --blobHost 0.0.0.0 --queuePort 10001 --queueHost 0.0.0.0 --tablePort 10002 --tableHost 0.0.0.0"
labels:
- ideamachinecompose
volumes:
- azurite:/data
- ./AzuriteCert:/azuriteDir
ideamachine.profilepictureservice:
image: ${DOCKER_REGISTRY-}ideamachineprofilepictureservice
container_name: ideamachine.functions.profilepictureservice
labels:
- ideamachinecompose
networks:
- ideamachinenetwork
build:
context: .
dockerfile: Services/IdeaMachine.ProfilePictureService/Dockerfile
environment:
RabbitMqSettings__BrokerAddress: ideamachine.rabbitmq
RabbitMqSettings__UserName: ideamachine
RabbitMqSettings__Password: ideamachine
depends_on:
- ideamachine.sql
- ideamachine.rabbitmq
ideamachine.redis:
image: redis
labels:
- ideamachinecompose
networks:
- ideamachinenetwork
ports:
- "6379:6379"