Merge pull request #1209 from dod-ccpo/uwsgi-logging
Enable uwsgi logging again.
This commit is contained in:
@@ -46,6 +46,8 @@ spec:
|
|||||||
- name: pgsslrootcert
|
- name: pgsslrootcert
|
||||||
mountPath: "/opt/atat/atst/ssl/pgsslrootcert.crt"
|
mountPath: "/opt/atat/atst/ssl/pgsslrootcert.crt"
|
||||||
subPath: pgsslrootcert.crt
|
subPath: pgsslrootcert.crt
|
||||||
|
- name: uwsgi-config
|
||||||
|
mountPath: "/opt/atat/atst/"
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
@@ -124,6 +126,10 @@ spec:
|
|||||||
configMap:
|
configMap:
|
||||||
name: acme-challenges
|
name: acme-challenges
|
||||||
defaultMode: 0666
|
defaultMode: 0666
|
||||||
|
- name: uwsgi-config
|
||||||
|
configMap:
|
||||||
|
name: uwsgi-config
|
||||||
|
defaultMode: 0666
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
namespace: atat
|
namespace: atat
|
||||||
resources:
|
resources:
|
||||||
- azure.yml
|
- azure.yml
|
||||||
- atst-configmap.yml
|
- uwsgi-config.yml
|
||||||
- atst-envvars-configmap.yml
|
- atst-envvars-configmap.yml
|
||||||
- atst-nginx-configmap.yml
|
- atst-nginx-configmap.yml
|
||||||
- atst-worker-envvars-configmap.yml
|
- atst-worker-envvars-configmap.yml
|
||||||
|
@@ -2,10 +2,10 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: atst-config
|
name: uwsgi-config
|
||||||
namespace: atat
|
namespace: atat
|
||||||
data:
|
data:
|
||||||
uwsgi-config: |-
|
uwsgi.ini: |-
|
||||||
[uwsgi]
|
[uwsgi]
|
||||||
callable = app
|
callable = app
|
||||||
module = app
|
module = app
|
||||||
@@ -14,6 +14,7 @@ data:
|
|||||||
plugin = logfile
|
plugin = logfile
|
||||||
virtualenv = /opt/atat/atst/.venv
|
virtualenv = /opt/atat/atst/.venv
|
||||||
chmod-socket = 666
|
chmod-socket = 666
|
||||||
|
chown-socket = atst:atat
|
||||||
|
|
||||||
; logger config
|
; logger config
|
||||||
|
|
Reference in New Issue
Block a user