mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Using gunicorn config.
This commit is contained in:
parent
1da9f57697
commit
0c8b2d3069
2 changed files with 3 additions and 1 deletions
|
@ -9,12 +9,14 @@
|
|||
become: yes
|
||||
apt_repository:
|
||||
repo: "deb [arch=amd64] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
|
||||
when: ansible_distribution_version != '14.04'
|
||||
|
||||
- name: Installing Consul
|
||||
become: yes
|
||||
apt:
|
||||
pkg: consul
|
||||
state: latest
|
||||
when: ansible_distribution_version != '14.04'
|
||||
|
||||
- name: Register Manager IP
|
||||
run_once: yes
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
env:
|
||||
DOCKERBUILD: ""
|
||||
state: started
|
||||
command: gunicorn --bind :8000 newsblur_web.wsgi:application
|
||||
command: gunicorn --config /srv/newsblur/config/gunicorn_conf.py newsblur_web.wsgi:application
|
||||
network_mode: host
|
||||
restart_policy: unless-stopped
|
||||
volumes:
|
||||
|
|
Loading…
Add table
Reference in a new issue