test postgres integration
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 3s
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 3s
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Host=localhost;Port=5432;Database=devTest1;Username=devuser;Password=admin5"
|
||||
"DefaultConnection": "Host=agologum-net;Port=5432;Database=agologum;Username=agologum;Password=${POSTGRES_PASSWORD}"
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"https_port": 443
|
||||
|
||||
@@ -1,8 +1,18 @@
|
||||
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
agologum-api:
|
||||
image: git.vxbard.net/homeburger/agologum-api:latest
|
||||
container_name: agologum-api
|
||||
restart: always
|
||||
environment:
|
||||
ConnectionStrings__DefaultConnection: Host=agologum-db;Port=5432;Database=agologum;Username=agologum;Password=${POSTGRES_PASSWORD}
|
||||
ports:
|
||||
- "5000:5000"
|
||||
networks:
|
||||
- agologum-net
|
||||
|
||||
networks:
|
||||
agologum-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user