From f9c0b97c5335bbc94dd5a2903d40bec2969ac8c9 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Tue, 30 Jan 2024 10:44:55 -0500 Subject: [PATCH] Avoid EDA dev env port conflict * Not many, if any, folks use the notebook feature. It kind of goes in and out of popularity. We've used it in the past when we work on features that require visualization (i.e. network graphs, workflows). Might as well keep it around in case we use it again. --- awx/settings/development.py | 2 +- .../ansible/roles/sources/templates/docker-compose.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/settings/development.py b/awx/settings/development.py index 25ec408ad9..bdf882c795 100644 --- a/awx/settings/development.py +++ b/awx/settings/development.py @@ -21,7 +21,7 @@ from split_settings.tools import optional, include from .defaults import * # NOQA # awx-manage shell_plus --notebook -NOTEBOOK_ARGUMENTS = ['--NotebookApp.token=', '--ip', '0.0.0.0', '--port', '8888', '--allow-root', '--no-browser'] +NOTEBOOK_ARGUMENTS = ['--NotebookApp.token=', '--ip', '0.0.0.0', '--port', '9888', '--allow-root', '--no-browser'] # print SQL queries in shell_plus SHELL_PLUS_PRINT_SQL = False diff --git a/tools/docker-compose/ansible/roles/sources/templates/docker-compose.yml.j2 b/tools/docker-compose/ansible/roles/sources/templates/docker-compose.yml.j2 index c9244f31ec..7b84157626 100644 --- a/tools/docker-compose/ansible/roles/sources/templates/docker-compose.yml.j2 +++ b/tools/docker-compose/ansible/roles/sources/templates/docker-compose.yml.j2 @@ -64,7 +64,7 @@ services: {% if control_plane_node_count|int == 1 %} - "6899:6899" - "8080:8080" # unused but mapped for debugging - - "${AWX_JUPYTER_PORT:-8888}:8888" # jupyter notebook + - "${AWX_JUPYTER_PORT:-9888}:9888" # jupyter notebook - "8013:8013" # http - "8043:8043" # https - "2222:2222" # receptor foo node