Incorporates Minikube to devel environment

This commit is contained in:
Marcelo Moreira de Mello
2021-07-13 00:36:19 -04:00
parent 0e75193e3d
commit f6a71e770d
12 changed files with 241 additions and 5 deletions

View File

@@ -6,3 +6,4 @@ pg_port: 5432
pg_username: 'awx'
pg_database: 'awx'
cluster_node_count: 1
minikube_container_group: false

View File

@@ -20,6 +20,9 @@ services:
RECEPTORCTL_SOCKET: /var/run/receptor/receptor.sock
{% if loop.index == 1 %}
RUN_MIGRATIONS: 1
{% endif %}
{% if minikube_container_group|bool %}
MINIKUBE_CONTAINER_GROUP: "true"
{% endif %}
links:
- postgres
@@ -47,6 +50,7 @@ services:
- "8888:8888" # jupyter notebook
- "8013:8013" # http
- "8043:8043" # https
- "2222:2222" # receptor foo node
{% endif %}
redis_{{ container_postfix }}:
image: redis:latest
@@ -98,3 +102,9 @@ volumes:
redis_socket_{{ container_postfix }}:
name: tools_redis_socket_{{ container_postfix }}
{% endfor -%}
{% if minikube_container_group|bool %}
networks:
default:
external:
name: minikube
{% endif %}