Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
Configurar virtualhost para el proyecto symfony en apache en doker container

Estoy tratando de configurar un proyecto sympony 3.4 en docker usando apache, pero no funciona, werser funciona pero no con el proyecto symfony

este es el Dockerfile

 FROM php:7.4.2-apache RUN pecl install xdebug && docker-php-ext-enable xdebug \ # not yet in linux: xdebug.remote_host = host.docker.internal \n\ && echo "\n\ xdebug.mode = debug \n\ xdebug.start_with_request = yes \n\ xdebug.client_port = 9003 \n\ xdebug.client_host = host.docker.internal \n\ xdebug.log = "C:\xdebug_log\xdebug.log" \n\ xdebug.idekey = VSCODE \n\ " >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini

y el dockercompose.yml

 version: "3.7" services: apache_with_php: build: . container_name: php74_apache volumes: - ./:/var/www/html/ ports: - "80:80" memcached: image: memcached:alpine container_name: memcached mailhog: image: mailhog/mailhog:latest container_name: mailhog ports: - "1026:8025" redis: image: redis:alpine container_name: redis mariadb: image: mariadb:10.4 container_name: mariadb working_dir: /application volumes: - .:/application environment: - MYSQL_ROOT_PASSWORD=mypass - MYSQL_DATABASE=mydb - MYSQL_USER=myuser - MYSQL_PASSWORD=mypass ports: - "1028:3306"

¿Cómo podría configurar un host virtual dentro del contenedor docker?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!