Merge pull request #1209 from dod-ccpo/uwsgi-logging

Enable uwsgi logging again.
This commit is contained in:
dandds 2019-11-27 09:38:42 -05:00 committed by GitHub
commit 69bbb12a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View File

@ -46,6 +46,8 @@ spec:
- name: pgsslrootcert
mountPath: "/opt/atat/atst/ssl/pgsslrootcert.crt"
subPath: pgsslrootcert.crt
- name: uwsgi-config
mountPath: "/opt/atat/atst/"
- name: nginx
image: nginx:alpine
ports:
@ -124,6 +126,10 @@ spec:
configMap:
name: acme-challenges
defaultMode: 0666
- name: uwsgi-config
configMap:
name: uwsgi-config
defaultMode: 0666
---
apiVersion: extensions/v1beta1
kind: Deployment

View File

@ -1,7 +1,7 @@
namespace: atat
resources:
- azure.yml
- atst-configmap.yml
- uwsgi-config.yml
- atst-envvars-configmap.yml
- atst-nginx-configmap.yml
- atst-worker-envvars-configmap.yml

View File

@ -2,10 +2,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: atst-config
name: uwsgi-config
namespace: atat
data:
uwsgi-config: |-
uwsgi.ini: |-
[uwsgi]
callable = app
module = app
@ -14,6 +14,7 @@ data:
plugin = logfile
virtualenv = /opt/atat/atst/.venv
chmod-socket = 666
chown-socket = atst:atat
; logger config