diff --git a/.gitignore b/.gitignore index 0ce28e05..d4a9ae66 100755 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ venv.bak/ # ssl certs ssl/ # Mythic files +nginx-docker/config/blockips.conf mythic-docker/src/Mythic mythic_access.* mythic_sync/ diff --git a/Mythic_CLI/src/cmd/internal/serviceMetadata.go b/Mythic_CLI/src/cmd/internal/serviceMetadata.go index 87b8eaeb..e2c5a25d 100644 --- a/Mythic_CLI/src/cmd/internal/serviceMetadata.go +++ b/Mythic_CLI/src/cmd/internal/serviceMetadata.go @@ -77,7 +77,7 @@ func AddMythicService(service string, removeVolume bool) { "mythic_postgres:127.0.0.1", } if mythicEnv.GetBool("postgres_bind_localhost_only") { - pStruct["command"] = "postgres -c \"max_connections=100\" -p ${POSTGRES_PORT} -c config_file=/etc/postgresql.conf -c \"listen_addresses='localhost'\"" + pStruct["command"] = "postgres -c \"max_connections=100\" -p ${POSTGRES_PORT} -c config_file=/etc/postgresql.conf -c \"listen_addresses=localhost\"" } else { pStruct["command"] = "postgres -c \"max_connections=100\" -p ${POSTGRES_PORT} -c config_file=/etc/postgresql.conf" }