set dual site container hdyra-dispatcher
This commit is contained in:
parent
f925ba61a6
commit
629d850d9c
|
@ -17,20 +17,47 @@ spec:
|
||||||
io.kompose.service: hydra-dispatcher
|
io.kompose.service: hydra-dispatcher
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: hydra-dispatcher
|
- name: hydra-dispatcher-php-fpm
|
||||||
image: reg.cadoles.com/mlamalle/hydra-dispatcher-standalone:0.0.1-20230630
|
image: reg.cadoles.com/mlamalle/hydra-dispatcher-standalone:0.0.1-20230630
|
||||||
|
args: ["/usr/sbin/php-fpm7", "-F", "-e"]
|
||||||
|
env:
|
||||||
|
- name: PHP_FPM_LISTEN
|
||||||
|
value: 127.0.0.1:9000
|
||||||
|
- name: PHP_MEMORY_LIMIT
|
||||||
|
value: 128m
|
||||||
|
- name: PHP_FPM_MEMORY_LIMIT
|
||||||
|
value: 128m
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: hydra-dispatcher-env
|
name: hydra-dispatcher-env
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/config/hydra
|
- mountPath: /app/config/hydra
|
||||||
name: hydra-dispatcher-apps
|
name: hydra-dispatcher-apps
|
||||||
|
resources: {}
|
||||||
|
|
||||||
|
- image: reg.cadoles.com/mlamalle/hydra-dispatcher-standalone:0.0.1-20230630
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: hydra-dispatcher-nginx
|
||||||
|
args: ["/usr/sbin/nginx"]
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: hydra-dispatcher-env
|
||||||
|
env:
|
||||||
|
- name: NGINX_APP_UPSTREAM_BACKEND_SERVER
|
||||||
|
value: 127.0.0.1:9000
|
||||||
|
- name: NGINX_APP_ROOT
|
||||||
|
value: "/web"
|
||||||
|
- name: NGINX_APP_PHP_INDEX
|
||||||
|
value: "/app.php"
|
||||||
|
- name: NGINX_ERROR_LOG_LEVEL
|
||||||
|
value: "warn"
|
||||||
|
- name: NGINX_APP_PHP_NON_FILE_PATTERN
|
||||||
|
value: "^/app\\.php(/|$)"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 8080
|
||||||
resources: {}
|
resources: {}
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: hydra-dispatcher-apps
|
- name: hydra-dispatcher-apps
|
||||||
configMap:
|
configMap:
|
||||||
name: hydra-dispatcher-apps
|
name: hydra-dispatcher-apps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue