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
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]
CMD ["php-fpm7.4"]
# Arguments to label built container
ARG VCS_REF

View File

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

View File

@@ -25,7 +25,7 @@ server {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
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