summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRick Elrod <rick@elrod.me>2023-07-05 20:41:47 +0200
committerGitHub <noreply@github.com>2023-07-05 20:41:47 +0200
commit4a34ee1f1e2ec6c6d6ddbd0adf9fd6e6bb0eac9a (patch)
tree7a8c42b501f0ff8452b14751de644e23ca4cec55 /Makefile
parentAdd combined roles/collection requirements on project sync (#14081) (diff)
downloadawx-4a34ee1f1e2ec6c6d6ddbd0adf9fd6e6bb0eac9a.tar.xz
awx-4a34ee1f1e2ec6c6d6ddbd0adf9fd6e6bb0eac9a.zip
Add optional pgbouncer to dev environment (#14083)
Signed-off-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ca3b134728..3e18e5e3e4 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,8 @@ COLLECTION_TEMPLATE_VERSION ?= false
# NOTE: This defaults the container image version to the branch that's active
COMPOSE_TAG ?= $(GIT_BRANCH)
MAIN_NODE_TYPE ?= hybrid
+# If set to true docker-compose will also start a pgbouncer instance and use it
+PGBOUNCER ?= false
# If set to true docker-compose will also start a keycloak instance
KEYCLOAK ?= false
# If set to true docker-compose will also start an ldap instance
@@ -522,6 +524,7 @@ docker-compose-sources: .git/hooks/pre-commit
-e control_plane_node_count=$(CONTROL_PLANE_NODE_COUNT) \
-e execution_node_count=$(EXECUTION_NODE_COUNT) \
-e minikube_container_group=$(MINIKUBE_CONTAINER_GROUP) \
+ -e enable_pgbouncer=$(PGBOUNCER) \
-e enable_keycloak=$(KEYCLOAK) \
-e enable_ldap=$(LDAP) \
-e enable_splunk=$(SPLUNK) \