fas: some static fixes
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
f35c7220f5
commit
67a0f616b2
2 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue