fas: some static fixes

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-05-11 00:40:42 +02:00
parent f35c7220f5
commit 67a0f616b2
2 changed files with 5 additions and 1 deletions

View file

@ -40,7 +40,7 @@ data:
ln -s /etc/httpd/modules /httpdir/modules
truncate --size=0 /httpdir/accesslog /httpdir/errorlog
tail -qf /httpdir/accesslog /httpdir/errorlog &
exec /usr/sbin/httpd.worker -f /etc/fas/httpd.conf -DFOREGROUND -DNO_DETACH
exec /usr/sbin/httpd.worker -f /etc/fas/static_httpd.conf -DFOREGROUND -DNO_DETACH
static_httpd.conf: |-
Listen 0.0.0.0:8080
ServerRoot "/httpdir"

View file

@ -64,6 +64,9 @@ spec:
ports:
- containerPort: 8080
volumeMounts:
- name: config-volume
mountPath: /etc/fas
readOnly: true
- name: httpdir-volume
mountPath: /httpdir
readinessProbe:
@ -95,6 +98,7 @@ spec:
automatic: true
containerNames:
- fas
- static
from:
kind: ImageStreamTag
name: fas:latest