Skip to content

Commit

Permalink
able to connect to volumes now
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlongcc committed Mar 13, 2024
1 parent f01afdb commit ce067ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mongo-hardening.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,12 @@ source "docker" "target" {
"--name", "${var.output_image.name}",
"--user", "root",
"-p", "27017:27017",
"{{.Image}}",
// "-v", "mongodb_configdb:/data/configdb",
// "-v", "mongodb_db:/data/db",
"-v", "mongodb_configdb:/data/configdb",
"-v", "mongodb_db:/data/db",
"{{.Image}}"
]
}


build {
name = "harden"
sources = [
Expand Down

0 comments on commit ce067ee

Please sign in to comment.