-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (50 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
50 lines (50 loc) · 1.23 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
version: '3'
services:
api:
build:
context: .
dockerfile: ICode.API/Dockerfile
environment:
- ConnectionStrings__ICode=Server=db;Database=ICode;UID=sa;PWD=leron@1605
- ConnectionStrings__Master=Server=db;Database=master;UID=sa;PWD=leron@1605
- ConnectionStrings__HangFire=Server=db;Database=HangFire;UID=sa;PWD=leron@1605
- ConnectionStrings__Redis=redis,abortConnect=false
restart: always
depends_on:
- db
- redis
web:
build:
context: .
dockerfile: ICode.Web/Dockerfile
environment:
- ICode.API=http://api
- Oauth__Google__RedirectURL=http://localhost:3000/auth/google/callback
restart: always
depends_on:
- api
code_executor:
build:
context: .
dockerfile: ICode.CodeExecutor/Dockerfile
restart: always
db:
image: mcr.microsoft.com/mssql/server:2019-latest
ports:
- "11433:1433"
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=leron@1605
volumes:
- ./Services/database:/var/opt/mssql/data
restart: always
redis:
image: redis:7.0.5-alpine
ports:
- "6379:6379"
nginx:
build:
context: ./Services/nginx
ports:
- "3000:80"
restart: always