mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
Enable task log/progress to work within docker
We need the task log dir to be shared between the app and celery containers, so mount a volume and point both of them into it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
3d11767066
commit
51bf00c15a
|
@ -16,6 +16,7 @@ services:
|
|||
hostname: localhost
|
||||
volumes:
|
||||
- layersmeta:/opt/workdir
|
||||
- logvolume:/opt/layerindex-task-logs:z
|
||||
environment:
|
||||
#- "SECRET_KEY=<set this here>"
|
||||
- "DATABASE_USER=root"
|
||||
|
@ -63,6 +64,7 @@ services:
|
|||
image: halstead/layerindex-app
|
||||
volumes:
|
||||
- layersmeta:/opt/workdir
|
||||
- logvolume:/opt/layerindex-task-logs:z
|
||||
environment:
|
||||
#- "SECRET_KEY=<set this here>"
|
||||
- "DATABASE_USER=layers"
|
||||
|
@ -87,4 +89,5 @@ services:
|
|||
volumes:
|
||||
layersmeta:
|
||||
layersstatic:
|
||||
logvolume:
|
||||
certbotwww:
|
||||
|
|
|
@ -282,7 +282,7 @@ AXES_CACHE = "axes_cache"
|
|||
AXES_LOCKOUT_TEMPLATE = "registration/account_lockout.html"
|
||||
|
||||
# Full path to directory to store logs for dynamically executed tasks
|
||||
TASK_LOG_DIR = "/tmp/layerindex-task-logs"
|
||||
TASK_LOG_DIR = "/opt/layerindex-task-logs"
|
||||
|
||||
# Full path to directory where rrs tools stores logs
|
||||
TOOLS_LOG_DIR = ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user