nginx setup

This commit is contained in:
ntr committed 2023-08-24 15:20:08 +10:00
1 parent 87ff6d072b
commit 579292460a
7 files changed
+62 -21

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
services:
pg:
extends:
file: common.yaml
service: pg
server:
image: mcr.microsoft.com/dotnet/sdk:7.0
depends_on:
- 'pg'
ports:
- '40080:80'
environment:
CONNECTIONSTRINGS__SPACERACE: "Server=pg;Port=5432;Database=${POSTGRES_DB};User Id=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}"
command: dotnet watch
working_dir: "/Server"
volumes:
- "./Server:/Server"