mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fix rsyslog in the dev env by using a local dir volume
We broke this in the image refactor.
This commit is contained in:
parent
a306397586
commit
63494c94b7
@ -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
|
||||
|
||||
1
tools/rsyslog/.dir_placeholder
Normal file
1
tools/rsyslog/.dir_placeholder
Normal 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.
|
||||
Loading…
x
Reference in New Issue
Block a user