Using gunicorn config.

This commit is contained in:
Samuel Clay 2021-02-24 14:40:43 -05:00
parent 1da9f57697
commit 0c8b2d3069
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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: