Fix dev environment when running as root on the host

Without this, CURRENT_UID isnt actually passed in from the host, and wipes out /etc/passwd even when we’re actually running as root.

I tested this as a non-root user on Linux, and on Docker for Mac
This commit is contained in:
Shane McDonald
2019-03-06 17:08:56 -05:00
parent 658bdddac3
commit b29a9cd86e
2 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ services:
container_name: tools_awx_1
hostname: awx
environment:
CURRENT_UID:
RABBITMQ_HOST: rabbitmq
RABBITMQ_USER: guest
RABBITMQ_PASS: guest