1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 13:55:31 +03:00

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.
This commit is contained in:
Shane McDonald 2019-10-31 08:00:23 -04:00
parent ccc2a616c1
commit f78c9f357d
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -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