nginx setup
This commit is contained in:
1 parent
cc0a86820d
commit
1495ca49ea
7 files changed
+62
-21
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user