79917b1d73
This version added a compose application using: * ASP.Net API Core * Seq Signed-off-by: Eduardo Silva <eduardo.lour.silva@gmail.com>
22 lines
440 B
YAML
22 lines
440 B
YAML
version: '3.7'
|
|
services:
|
|
api:
|
|
image: mcr.microsoft.com/dotnet/sdk
|
|
container_name: "api"
|
|
ports:
|
|
- 5000:5000
|
|
working_dir: /api
|
|
volumes:
|
|
- ./api:/api
|
|
command: ["dotnet", "watch", "run", "--urls=http://0.0.0.0:5000/"]
|
|
depends_on:
|
|
- "log"
|
|
log:
|
|
image: datalust/seq:latest
|
|
environment:
|
|
- ACCEPT_EULA=Y
|
|
volumes:
|
|
- /path/to/seq/data:/data
|
|
ports:
|
|
- 5341:5341
|
|
- 80:80 |