dolibarr CRM

This commit is contained in:
2022-03-12 19:43:18 +01:00
parent 3c16cbdc59
commit bf902aebc5
3 changed files with 11 additions and 12 deletions

View File

@@ -111,7 +111,7 @@ RUN set -ex; \
chmod 755 /entrypoint.sh chmod 755 /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"] CMD ["php-fpm7.4"]
# Arguments to label built container # Arguments to label built container
ARG VCS_REF ARG VCS_REF

View File

@@ -41,25 +41,24 @@ spec:
protocol: TCP protocol: TCP
- name: dolibarr - name: dolibarr
image: cr.lan/dolibarr:latest image: cr.lan/dolibarr:latest
lifecycle:
postStart:
exec:
command:
- /post-start.sh
volumeMounts: volumeMounts:
- name: www-data - name: www-data
mountPath: /var/www/html mountPath: /var/www/html
env: env:
- name: TZ - name: TZ
value: "Europe/Berlin" value: "Europe/Berlin"
- name: POSTGRES_HOST - name: DOLI_DB_HOST
value: postgres.live-env.svc.cluster.local:5432 value: postgres.live-env.svc.cluster.local
- name: POSTGRES_DB - name: DOLI_DB_PORT
value: "5432"
- name: DOLI_DB_NAME
value: dolibarr value: dolibarr
- name: POSTGRES_USER - name: DOLI_DB_USER
value: dolibarr value: dolibarr
- name: POSTGRES_PASSWORD - name: DOLI_DB_PASSWORD
value: Vb7yHzmE5HIjfU4hjghjghj6AnMdB value: Vb7yHzmE5HIjfU4hjghjghj6AnMdB
- name: DOLI_DB_TYPE
value: pgsql
ports: ports:
- name: php-fpm - name: php-fpm
containerPort: 9000 containerPort: 9000

View File

@@ -25,7 +25,7 @@ server {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTP_PROXY ""; # prohibit httpoxy: https://httpoxy.org/ fastcgi_param HTTP_PROXY ""; # prohibit httpoxy: https://httpoxy.org/
fastcgi_pass ${NGINX_PHP_CGI}; fastcgi_pass 127.0.0.1:9000;
} }
## disable all access to the following directories ## disable all access to the following directories