LapService

This commit is contained in:
ntr committed 2023-08-29 21:05:43 +10:00
1 parent 18ee18f78f
commit 2980cb9e4e
8 files changed
+63 -125

No files matched your search

+13 -13
View File
@@ -4,17 +4,17 @@ services:
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}"
# DOTNET_WATCH_RESTART_ON_RUDE_EDIT: 1
# command: dotnet watch
# working_dir: "/Server"
# volumes:
# - "./Server:/Server"
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}"
DOTNET_WATCH_RESTART_ON_RUDE_EDIT: 1
command: dotnet watch
working_dir: "/Server"
volumes:
- "./Server:/Server"