Skip to content

Commit

Permalink
ansible#3004 Add proxy support to postgresql, memcached and rabbitmq …
Browse files Browse the repository at this point in the history
…images
  • Loading branch information
joseorpa authored and ryanpetrello committed May 30, 2019
1 parent 4b1fc78 commit 84b6866
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions installer/roles/local_docker/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 %}

0 comments on commit 84b6866

Please sign in to comment.