Skip to content

Commit 43fe205

Browse files
authored
fix: alloydb volume and config mount options (#37)
* fix: alloydb volume and config mount options * chore: remove config dir mount
1 parent 22efb8f commit 43fe205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/compose/compose.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ func NewCompose(options ...Option) *Compose {
6262
ContainerName: fmt.Sprintf("%s_alloydb", dockerComposeContainerNamePrefix),
6363
Expose: []string{"5432"},
6464
Image: "google/alloydbomni:latest",
65-
Volumes: []string{fmt.Sprintf("%s:/alloydb/alloydb-data", alloydbVolume)},
65+
Volumes: []string{fmt.Sprintf("%s:/var/lib/postgresql/data", alloydbVolume)},
6666
Environment: map[string]string{
67-
"DATA_DIR": "/alloydb/alloydb-data",
67+
"DATA_DIR": "/var/lib/postgresql/data",
6868
"HOST_PORT": "5432",
6969
"POSTGRES_PASSWORD": "password",
7070
},

0 commit comments

Comments
 (0)