Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 8b7cc48

Browse files
authored
feat: support for new images (#873)
asd
1 parent 2ccbb40 commit 8b7cc48

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

dockercompose/postgres.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ func postgres( //nolint:funlen
4545
for _, v := range envars {
4646
env[v.Name] = v.Value
4747
}
48+
env["POSTGRES_DEV_INSECURE"] = "true"
4849

4950
return &Service{
5051
Image: fmt.Sprintf("nhost/postgres:%s", *cfg.GetPostgres().GetVersion()),

dockercompose/postgres_test.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ func expectedPostgres(tmpdir string) *Service {
1919
DependsOn: nil,
2020
EntryPoint: nil,
2121
Environment: map[string]string{
22-
"PGDATA": "/var/lib/postgresql/data/pgdata",
23-
"POSTGRES_DB": "local",
24-
"POSTGRES_PASSWORD": "postgres",
25-
"POSTGRES_USER": "postgres",
22+
"PGDATA": "/var/lib/postgresql/data/pgdata",
23+
"POSTGRES_DB": "local",
24+
"POSTGRES_DEV_INSECURE": "true",
25+
"POSTGRES_PASSWORD": "postgres",
26+
"POSTGRES_USER": "postgres",
2627
},
2728
ExtraHosts: []string{
2829
"host.docker.internal:host-gateway", "local.auth.nhost.run:host-gateway",

0 commit comments

Comments
 (0)