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
|
ln -s /etc/httpd/modules /httpdir/modules
|
||||||
truncate --size=0 /httpdir/accesslog /httpdir/errorlog
|
truncate --size=0 /httpdir/accesslog /httpdir/errorlog
|
||||||
tail -qf /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: |-
|
static_httpd.conf: |-
|
||||||
Listen 0.0.0.0:8080
|
Listen 0.0.0.0:8080
|
||||||
ServerRoot "/httpdir"
|
ServerRoot "/httpdir"
|
||||||
|
|
|
@ -64,6 +64,9 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config-volume
|
||||||
|
mountPath: /etc/fas
|
||||||
|
readOnly: true
|
||||||
- name: httpdir-volume
|
- name: httpdir-volume
|
||||||
mountPath: /httpdir
|
mountPath: /httpdir
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
@ -95,6 +98,7 @@ spec:
|
||||||
automatic: true
|
automatic: true
|
||||||
containerNames:
|
containerNames:
|
||||||
- fas
|
- fas
|
||||||
|
- static
|
||||||
from:
|
from:
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
name: fas:latest
|
name: fas:latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue