-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
48 lines (47 loc) · 986 Bytes
/
docker-compose.yaml
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
version: '3'
services:
seq:
restart: always
image: datalust/seq:latest
container_name: seq
environment:
- ACCEPT_EULA=Y
ports:
- "5341:5341"
- "8005:80"
db:
restart: always
image: task-management/db
build:
dockerfile: Dockerfile.stage
context: ./database
ports:
- "1434:1433"
client:
restart: always
image: task-management/client
build:
dockerfile: Dockerfile.stage
context: ./client
container_name: client
environment:
- API_URL=api;
ports:
- "3000:3000"
depends_on:
- api
api:
restart: always
image: task-management/api
build:
dockerfile: Dockerfile.stage
context: ./api
container_name: api
environment:
- ConnectionStrings__TasksDb=Server=db;DataBase=Tasks;User Id=sa;Password=P@ssw0rd;Connection Timeout=30;
- Seq=http://seq/
ports:
- "8001:80"
depends_on:
- db
- seq