Questions tagged apache

Explore the latest questions and answers asked by our top developers.

No module named ‘pymysql’ in Airflow UI (bashcommand)

I am trying to run an automated creation of staging table in mysql through a python script that I integrated on my Airflow DAG (docker). The script I’m using is through an external python file that will be run through bashcommand. When I try to run it on Airflow UI I get this error message. […]

How do we map a specific local directory on Apache Airflow Docker volumes?

Let’s say, for example, I have a python script that I want to run as task A. It is located in C:UsersNameDesktopFolder1Script.py I also want to move some csv files to C:UsersNameDesktopFolderCSVs through python script. How do I map those 2 folders through volume? My compose.yaml currently looks like this: volumes: – ./dags:/opt/airflow/dags – ./logs:/opt/airflow/logs […]

By tsukikosagi
Published
Categorised as airflow, apache, docker, mapping, volume Tagged , , , ,

Connection refuse on post request

I have to update a repo So, I created an image from python:3.7:slim I am using flask for the application After building the image I tries to send a post requst but I got rllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=’10.14.2.96′, port=8085): Max retries exceeded with url: /run_product_clustering_request/ (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f344c13b5f8>: Failed to establish a new connection: […]

By MPA
Published
Categorised as apache, docker, http, request Tagged , , ,

How can I run laravel outside docker (local machine) and still use php, apache and postgres inside it (docker)?

basically i got a job as a junior developer and now they asked me to do a task doing this, but I have no idea on how to begin laravel MUST be on the local machine Source: Docker Questions

By Alisson
Published
Categorised as apache, docker, laravel, php, postgresql Tagged , , , ,

Image files inside folder give 404, but files uploaded. Using Apache and Docker

My .NET 5 project running inside docker, i uploading images with rest-api POST metod After uploading, i cant found file in filesystem: find . -iname 58dc93ad-3945-44f0-9260-29c642080f1b.png ./var/lib/docker/overlay2/3339013651a5af4b1c2081a035a180f678500c9a27f006e537ac340fff72c304/diff/Images/58dc93ad-3945-44f0-9260-29c642080f1b.png ./var/lib/docker/overlay2/3339013651a5af4b1c2081a035a180f678500c9a27f006e537ac340fff72c304/merged/Images/58dc93ad-3945-44f0-9260-29c642080f1b.png But if i try to get image, it gives 404 all the time My apache config file: <VirtualHost *:80> ServerName myproject.test ServerAlias www.myproject.test ServerAdmin [email protected] DocumentRoot /var/www/myproject.test […]

By fourston
Published
Categorised as .net, apache, asp.net, c#, docker Tagged , , , ,

how to ssh from host to apache server inside a docker instance

i have a docker instance that I can ssh him from host. inside that docker, I have an apache server that I can only do ssh from inside the docker. is it possible to do ssh from outside (different network) to the apache server? the apache server has private ip Source: Docker Questions

By Lidor Toker
Published
Categorised as apache, docker, ssh Tagged , ,

000-default.conf not found while building docker image of Laravel app on windows

I am trying to deploy my Laravel application on AWS using docker image by following given tutorial: https://medium.com/@okekedesmond/deploying-containerized-laravel-application-using-aws-ec2-instances-with-docker-and-rds-883e8f6d6245 I am stuck at first point while building docker image. Here is my Dockerfile: # Defining the base image for our project, if you understand how docker images and layers work, this should not be difficult to […]

By Umer
Published
Categorised as apache, docker, laravel, php Tagged , , ,

Gitlab – Docker – Apache2 Reverse Proxy – 400 Bad Request

I’m so sorry. I studied tons of threads the last three days but my setup won’t work as expected. Did the same with a Kimai-Docker-Container and i had no problems, so i’m a little stuck here. When I browse ‘gitlab.my.domain’ i get a 400 or 502 – I tried so many things. Mostly, it works […]

By Nils Bentlage
Published
Categorised as apache, docker, gitlab, reverse-proxy Tagged , , ,

Apache Superset connection with MS SQL Server not working

I have installed Apache superset locally using docker-compose using docker-compose -f docker-compose-non-dev.yml up and now when i try to connect it to ms server using connection string it doesnot work either with pyodbc or mssql, also i tested the connection string using python script and it works proprly but not in superset the connection string […]

By Rami
Published
Categorised as apache, apache-superset, docker, python, sql-server Tagged , , , ,

Xdebug 3 couldn’t connect from Docker [20.10.12] to PhpStorm debug client. Ubuntu

So, my configurations are: Dockerfile: FROM php:8.1-apache as php_base COPY –from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ RUN a2enmod rewrite && install-php-extensions pgsql RUN echo ‘ServerName localhost’ >> /etc/apache2/apache2.conf && service apache2 restart WORKDIR /var/www/lessor-calculator FROM php_base as php_dev RUN pecl install xdebug && docker-php-ext-enable xdebug docker-compose.yml: version: "3.4" services: app: build: context: docker/server target: php_dev expose: – "9000" […]

By
Published
Categorised as apache, docker, php, phpstorm, xdebug Tagged , , , ,
1 2 3 39

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq