michal testing
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
db, err := sql.Open("postgres", os.Getenv("DATABASE_CONNECTION_STRING"))
|
db, err := sql.Open("postgres", os.Getenv("DATABASE_CONNECTION_STRING")+"?sslmode=disable")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
- hostname: db
|
- hostname: db
|
||||||
type: postgresql@16
|
type: postgresql@18
|
||||||
mode: NON_HA
|
mode: HA
|
||||||
|
verticalAutoscaling:
|
||||||
|
minFreeRamGB: 0.5
|
||||||
- hostname: app
|
- hostname: app
|
||||||
type: go@1
|
type: go@1
|
||||||
maxContainers: 1
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
services:
|
||||||
|
- type: postgresql:single@18
|
||||||
|
hostname: singleandreadytomingle3
|
||||||
|
profileId: custom
|
||||||
|
profileOverrides:
|
||||||
|
max_connections: kokos
|
||||||
Reference in New Issue
Block a user