awesome-compose/aspnet-api-seq/docker-compose.yml
Eduardo Silva 79917b1d73 create aspnet api with seq
This version added a compose application using:

* ASP.Net API Core
* Seq

Signed-off-by: Eduardo Silva <eduardo.lour.silva@gmail.com>
2022-04-13 17:54:28 -03:00

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