#3004 Add proxy support to postgresql, memcached and rabbitmq images

This commit is contained in:
Jose OrPa 2019-05-18 13:55:13 +02:00 committed by Ryan Petrello
parent 4b1fc7894d
commit 84b6866875
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -113,11 +113,18 @@ services:
RABBITMQ_DEFAULT_USER: "{{ rabbitmq_user }}"
RABBITMQ_DEFAULT_PASS: "{{ rabbitmq_password }}"
RABBITMQ_ERLANG_COOKIE: {{ rabbitmq_erlang_cookie }}
http_proxy: {{ http_proxy | default('') }}
https_proxy: {{ https_proxy | default('') }}
no_proxy: {{ no_proxy | default('') }}
memcached:
image: memcached:alpine
container_name: awx_memcached
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 %}
postgres:
@ -131,4 +138,7 @@ services:
POSTGRES_PASSWORD: {{ pg_password }}
POSTGRES_DB: {{ pg_database }}
PGDATA: /var/lib/postgresql/data/pgdata
http_proxy: {{ http_proxy | default('') }}
https_proxy: {{ https_proxy | default('') }}
no_proxy: {{ no_proxy | default('') }}
{% endif %}