weltamdraht
347529a0cf
Adding inventory variable to set "extra_hosts" in generated compose file
...
Signed-off-by: weltamdraht <andreas.aderhold@dwd.de>
2020-07-10 13:25:07 +02:00
Ben Schmitz
ea175ac5b6
Allows for docker logger support
2020-06-16 08:29:43 -04:00
Rebeccah Hunter
b09d9cbe41
removed django-redis as a dependency
...
Co-authored-by: Shane McDonald <me@shanemcd.com>
2020-06-09 10:24:23 -04:00
Rebeccah
d2bbe7aa1a
remove memcache from everywhere and add djagno-redis to cover it
2020-06-09 10:24:23 -04:00
Bill Nottingham
64e3135754
Only build one awx image instead of separate web and task images
2020-06-03 10:48:48 -04:00
Bill Nottingham
559d917184
Make supervisor more consistent
...
Configs go in /etc, sockets in /var/run/supervisor for all invocations.
2020-06-02 19:51:16 -04:00
mstrent
8d6d5eeed8
Add subnet configuratin to Docker Compose to avoid conflicts.
...
The out of the box subnet Docker Compose selects may conflict with your existing LAN subnets. This makes it configurable.
2020-05-28 09:17:45 -07:00
JoelKle
39c32fb5d0
AWX installer docker-compose params host_port and host_port_ssl
...
can also be undefined to prevent exposing a port.
Signed-off-by: JoelKle <34544090+JoelKle@users.noreply.github.com>
2020-05-19 10:03:29 +02:00
ggiinnoo
41a8d32dcc
Added variable to inventory to add a separate key file
2020-04-28 11:13:47 +02:00
Christian Adams
85960d9035
Volume mount supervisor dir to both containers
2020-04-15 14:11:15 -04:00
Christian Adams
c8ceb62269
Rename awx rsyslog socket and PID dir
2020-04-15 14:11:15 -04:00
Christian Adams
996d7ce054
Move supervisor and rsyslog sock files to their own dirs under /var/run
2020-04-13 11:43:59 -04:00
Shane McDonald
c0af3c537b
Configure rsyslog to listen over a unix domain socket instead of a port
...
- Add a placeholder rsyslog.conf so it doesn't fail on start
- Create access restricted directory for unix socket to be created in
- Create RSyslogHandler to exit early when logging socket doesn't exist
- Write updated logging settings when dispatcher comes up and restart rsyslog so they take effect
- Move rsyslogd to the web container and create rpc supervisor.sock
- Add env var for supervisor.conf path
2020-04-13 11:43:59 -04:00
chris meyers
7433aab258
switch memcached from tcp to unix domain socket
2020-04-06 08:35:12 -04:00
chris meyers
770b457430
redis socket support
2020-03-18 16:10:19 -04:00
chris meyers
e94bb44082
replace rabbitmq with redis
...
* local awx docker-compose and image build only.
2020-03-18 16:10:17 -04:00
softwarefactory-project-zuul[bot]
d3ea09d60c
Merge pull request #4819 from dgiorgio/devel
...
Fix docker-compose - Use variables to set docker postgres tag
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-12 15:34:46 +00:00
Raphaël COMBEAU
712b07c136
Improve usage of ssl_certificate in local_docker
...
Remove nginx.conf from container
Move nginx outside ssl_certificate block
2019-10-28 17:37:14 -04:00
Evan Stork
0c0e172caf
Added custom_venv_dir to local docker install,
...
Signed-off-by: Evan Stork <estork@live.com>
2019-10-19 20:45:02 -04:00
dgiorgio
1f76a88656
Fix postgres docker-compose, add postgresql_image var
2019-10-09 12:43:29 -04:00
Shane McDonald
036567817e
Implement local docker pg upgrade
2019-09-12 12:52:43 -04:00
Christian Adams
ec1e93cc69
Upgrade to postgres 10.6
...
- use awx-python in shebang in dev env
- scl enable where needed for rhel7 & container installs
- use scram-sha-256 pg user hashing by default
- ensure psycopg2 is using the correct PG_CONFIG at build time for the right libpq version
2019-09-12 12:52:43 -04:00
Jose OrPa
04ab736f09
#3778 Upgrading postgresql to v10
2019-09-12 12:52:42 -04:00
Scholl III, Michael G
12f564e4a3
Addition of inventory value for memcached image, allows for custom image locations for memcached to match other images
2019-07-18 09:24:44 -04:00
Yanis Guenane
11630a8803
Installer: quote password where it applies
...
Prior to this change, password having shell interpretable character
would break the installer (e.g '&', '(', etc... )
This commits rely on the `quote` filter from ansible to ensure those
password are properly quoted where it applies
Fixes: https://github.com/ansible/awx/issues/3943
Signed-off-by: Yanis Guenane <yguenane@redhat.com>
2019-06-03 11:50:52 +02:00
Jose OrPa
84b6866875
#3004 Add proxy support to postgresql, memcached and rabbitmq images
2019-05-30 10:04:17 -04:00
Jeff Byrnes
7b636a7566
Set up HTTPS w/ proper port & HTTP redirect
...
HTTPS is, by default, expected to be on port 443.
Also, with HSTS set, we need to be sure that users attempting to arrive
via HTTP are properly redirected to HTTPS.
This does so by:
* Setting up a 301 redirect for any URL to its HTTPS version
* Adjusting the internal port for HTTPS traffic to 8053
* Setting docker-compose to share port 443 → 8053
- This is configurable via an inventory variable
2019-04-05 16:13:23 -04:00
Jeff Byrnes
28e3c63562
Add optional SSL cert to docker-compose install
...
In #3322 , this mount was added, but only to the standalone
Docker install setup:
github.com/ansible/awx/pull/3322/files#diff-596e32ab54a52bfed763f8a639499fe0
This ensures that the SSL cert is loaded when using docker-compose,
which is the only Docker-based method available as of v4.0.0
2019-04-05 16:13:23 -04:00
Shane McDonald
c3ba851908
Fix docker-compose installs
...
In a series of unfortunate events, my patch yesterday didnt actually work. This fixes that.
2019-03-27 13:06:55 -04:00
Shane McDonald
2b6cf97157
Do not set credentials via environment variables
2019-03-26 15:13:28 -04:00
Hideki Saito
f16a72081a
Fixed issue where admin_user and password change are not reflected
...
- No effect of changing admin_user and admin_password when using docker-compose #2666
2018-11-13 18:21:18 +09:00
walkafwalka
d2ab7bd54d
Add inventory vars to set docker install hostnames
...
Signed-off-by: walkafwalka <41709139+walkafwalka@users.noreply.github.com>
2018-08-04 01:49:07 -07:00
Shane McDonald
590d5ccad1
Merge pull request #1718 from soumikgh/devel
...
Bind mount to custom certs to `source/anchors` subfolder
2018-04-19 22:33:36 -04:00
Shane McDonald
479a56c6d3
Generalize variable names in installer
...
secret_key
2018-04-16 17:43:15 -04:00
Shane McDonald
3720c57c63
Fix whitespace issues with docker-compose jinja template
...
See https://github.com/ansible/awx/issues/1710
2018-04-11 11:06:34 -04:00
Soumik Ghosh
41c3e69450
Bind mount to custom certs to
2018-04-02 14:23:23 -04:00
Shane McDonald
935dc8bca7
Upgrade to RabbitMQ 3.7, remove need for etcd2
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 11:45:33 -04:00
Shane McDonald
3072c3bd8d
Whitespace fix
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-27 10:57:22 -04:00
Shane McDonald
84cd933702
Move installer roles into roles directory
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-22 14:34:03 -04:00