skip to Main Content

Docker Enable Xdebug – Debian

I have such Dockerfile for my php-container: FROM my-image/debian ARG PHP_VERSION ... ... RUN set -eux # INSTALL SURY SOURCES && buildDeps='apt-transport-https lsb-release wget' && apt-get update && apt-get install -y --no-install-recommends --no-install-suggests $buildDeps && wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg &&…

VIEW QUESTION

Prometheus alertmanager – invalid leading UTF-8 octet – CentOS

I am trying to configure the slack notification from Prometheus alertmanager with below yml. global: resolve_timeout: 1m slack_api_url: 'https://hooks.slack.com/services/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' route: receiver: 'slack-notifications' receivers: - name: 'slack-notifications' slack_configs: - channel: '#monitoring-instances' send_resolved: true icon_url: https://avatars3.githubusercontent.com/u/3380462 title: |- [{{ .Status | toUpper…

VIEW QUESTION

How To delete specific symbols from a linux file? – CentOS

My Linux file contains of over 4000 lines of code similar to this: [INSERT INTO DATAMART_QUEUE_DETAILS(EVENT_TIME,QUEUE,EVENT,TRACKNUM,QUEUE_TYPE,ASSOCIATED_ROUTING_SCRIPT,ANI,DNIS,CHANNEL_TYPE) VALUES ('2021.01.01 15:31:57','Electrolux', 'abandoned', '1609507904.86839', 'ROUTING_SCRIPT', 'Electrolux', '01008367900', '886123', 'CALL')] [INSERT INTO DATAMART_QUEUE_DETAILS(EVENT_TIME,QUEUE,EVENT,TRACKNUM,QUEUE_TYPE,ASSOCIATED_ROUTING_SCRIPT,ANI,DNIS,CHANNEL_TYPE) VALUES ('2021.01.01 15:31:59','Electrolux-Inst', 'queued', '1609507878.86832', 'VIRTUAL', 'Electrolux', '01552050703', '886123', 'CALL')] [INSERT…

VIEW QUESTION
Back To Top
Search