Initial code commit.
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
demo-api:
|
||||
container_name: demo-contact-api
|
||||
image: sufiaziz/demo-contact:latest
|
||||
ports:
|
||||
- 5001:8080
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
ASPNETCORE_URLS: http://0.0.0.0:8080
|
||||
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
|
||||
ConnectionStrings__DefaultConnectionString: #ConnectionString#
|
||||
LuckyPennyLicenseKey: #LuckyPennyLicenseKey#
|
||||
Serilog__WriteTo__1__Args__serverUrl: #SEQ_URL#
|
||||
Serilog__WriteTo__1__Args__apiKey: #SEQ_APIKEY#
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- postgres-net
|
||||
- seq-net
|
||||
|
||||
networks:
|
||||
postgres-net:
|
||||
name: postgres-net
|
||||
external: true
|
||||
seq-net:
|
||||
name: seq-net
|
||||
external: true
|
||||
Reference in New Issue
Block a user