mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 02:30:01 -03:30
Incorporates Minikube to devel environment
This commit is contained in:
@@ -6,3 +6,4 @@ pg_port: 5432
|
||||
pg_username: 'awx'
|
||||
pg_database: 'awx'
|
||||
cluster_node_count: 1
|
||||
minikube_container_group: false
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user