From f78c9f357dc9cce2d446fb2eddfc05d6cc3c0fff Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Thu, 31 Oct 2019 08:00:23 -0400 Subject: [PATCH] Mount local projects directory inside of dev container. Yesterday I noticed that we have awx/projects in our .gitignore. I am assuming this pre-dates our containerized development environment. With this commit, any project under awx/projects/ will be made available in the dev environment for selection when creating a Manual project. This comes in super handy when testing changes to playbooks locally. --- tools/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/docker-compose.yml b/tools/docker-compose.yml index ccb3b5aab0..56a69258db 100644 --- a/tools/docker-compose.yml +++ b/tools/docker-compose.yml @@ -34,6 +34,7 @@ services: working_dir: "/awx_devel" volumes: - "../:/awx_devel" + - "../awx/projects/:/var/lib/awx/projects/" privileged: true # A useful container that simply passes through log messages to the console # helpful for testing awx/tower logging