mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
#3004 Add proxy support to postgresql, memcached and rabbitmq images
This commit is contained in:
parent
4b1fc7894d
commit
84b6866875
@ -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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user