Rename container hostname from awx_1 to awx-1

* Django and other webservers that care about proper hostnames don't
  like underscores in them.
This commit is contained in:
Chris Meyers
2024-04-02 16:37:54 -04:00
committed by Chris Meyers
parent c061f59f1c
commit ae1235b223
5 changed files with 23 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ services:
user: "{{ ansible_user_uid }}"
image: "{{ awx_image }}:{{ awx_image_tag }}"
container_name: tools_awx_{{ container_postfix }}
hostname: awx_{{ container_postfix }}
hostname: awx-{{ container_postfix }}
command: launch_awx.sh
environment:
OS: "{{ os_info.stdout }}"