@@ -18,6 +18,6 @@ tfenv install `cat .terraform-version`
```
terraform plan
-terraform apply
+terraform apply -var myip=<IP_ADDRESS_OF_YOUR_LAPTOP>
@@ -50,7 +50,7 @@ resource "docker_container" "keycloak" {
}
provider "postgresql" {
- host = "127.0.0.1"
+ host = "172.18.5.3"
port = 5432
database = "postgres"
username = "${var.postgres_user}"
@@ -7,3 +7,7 @@ variable "postgres_password" {
description = "The Postgres password we want"
default = "psqltest"
+
+variable "myip" {
+ description = "IP address of the local machine"
+}