mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Adding log rotation to docker.
This commit is contained in:
parent
1db9e00f7e
commit
30eade8b66
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,7 @@
|
|||
|
||||
- name: Start NewsBlur Web Docker container
|
||||
become: yes
|
||||
throttle: 3
|
||||
docker_container:
|
||||
name: newsblur_web
|
||||
image: newsblur/newsblur_python3
|
||||
|
@ -61,6 +62,9 @@
|
|||
state: started
|
||||
command: gunicorn --config /srv/newsblur/config/gunicorn_conf.py newsblur_web.wsgi:application
|
||||
hostname: "{{ inventory_hostname }}"
|
||||
log_driver: json-file
|
||||
log_options:
|
||||
max-size: 100m
|
||||
networks_cli_compatible: yes
|
||||
network_mode: default
|
||||
networks:
|
||||
|
|
Loading…
Add table
Reference in a new issue