-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
39 lines (35 loc) · 782 Bytes
/
compose.yaml
File metadata and controls
39 lines (35 loc) · 782 Bytes
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
services:
db:
image: mcr.microsoft.com/mssql/server:2022-latest
ports:
- 1433:1433
volumes:
- inventory-dbdata:/var/opt/mssql:rw
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=MySecretP4ssword!!##
networks:
- inventory-net
api:
build: ./
depends_on:
- db
ports:
- "7024:8080"
environment:
- ConnectionStrings__DefaultConnection=Server=db;Database=Inventory;User Id=sa;Password=MySecretP4ssword!!##;TrustServerCertificate=True;
networks:
- inventory-net
papercut:
image: changemakerstudiosus/papercut-smtp:latest
depends_on:
- api
ports:
- 8080:80
- 25:25
networks:
- inventory-net
volumes:
inventory-dbdata:
networks:
inventory-net: