mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
#3004 Add proxy support to postgresql, memcached and rabbitmq images
This commit is contained in:
@@ -113,11 +113,18 @@ services:
|
|||||||
RABBITMQ_DEFAULT_USER: "{{ rabbitmq_user }}"
|
RABBITMQ_DEFAULT_USER: "{{ rabbitmq_user }}"
|
||||||
RABBITMQ_DEFAULT_PASS: "{{ rabbitmq_password }}"
|
RABBITMQ_DEFAULT_PASS: "{{ rabbitmq_password }}"
|
||||||
RABBITMQ_ERLANG_COOKIE: {{ rabbitmq_erlang_cookie }}
|
RABBITMQ_ERLANG_COOKIE: {{ rabbitmq_erlang_cookie }}
|
||||||
|
http_proxy: {{ http_proxy | default('') }}
|
||||||
|
https_proxy: {{ https_proxy | default('') }}
|
||||||
|
no_proxy: {{ no_proxy | default('') }}
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
image: memcached:alpine
|
image: memcached:alpine
|
||||||
container_name: awx_memcached
|
container_name: awx_memcached
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
http_proxy: {{ http_proxy | default('') }}
|
||||||
|
https_proxy: {{ https_proxy | default('') }}
|
||||||
|
no_proxy: {{ no_proxy | default('') }}
|
||||||
|
|
||||||
{% if pg_hostname is not defined %}
|
{% if pg_hostname is not defined %}
|
||||||
postgres:
|
postgres:
|
||||||
@@ -131,4 +138,7 @@ services:
|
|||||||
POSTGRES_PASSWORD: {{ pg_password }}
|
POSTGRES_PASSWORD: {{ pg_password }}
|
||||||
POSTGRES_DB: {{ pg_database }}
|
POSTGRES_DB: {{ pg_database }}
|
||||||
PGDATA: /var/lib/postgresql/data/pgdata
|
PGDATA: /var/lib/postgresql/data/pgdata
|
||||||
|
http_proxy: {{ http_proxy | default('') }}
|
||||||
|
https_proxy: {{ https_proxy | default('') }}
|
||||||
|
no_proxy: {{ no_proxy | default('') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user