Adds docker support for the server API.

This commit is contained in:
BinaryAlley committed 2024-09-12 13:48:37 +03:00
1 parent dfc7112cb7
commit 4a53348013
10 files changed
+178 -14

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
services:
lumina.presentation.api:
container_name: lumina-server
build:
context: .
dockerfile: Lumina.Presentation.Api/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=5214
ports:
- "5214:5214"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
command: "dotnet /app/Lumina.Presentation.Api.dll"