Fix rsyslog in the dev env by using a local dir volume

We broke this in the image refactor.
This commit is contained in:
Bill Nottingham 2020-05-19 17:00:09 -04:00
parent a306397586
commit 63494c94b7
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ services:
- "../awx/projects/:/var/lib/awx/projects/"
- "./redis/redis_socket_standalone:/var/run/redis/"
- "./memcached/:/var/run/memcached"
- "./rsyslog/:/var/lib/awx/rsyslog"
privileged: true
tty: true
# A useful container that simply passes through log messages to the console

View File

@ -0,0 +1 @@
This dir must pre-exist and be owned by the user you are launching awx dev env as. If the dir does not exist before launching the awx dev environment then docker will create the dir and it will be owned by root. Since we start our awx dev environment with user: ${CURRENT_UID} the rsyslog process will be unable to create a config file in a directory owned by root.