Questions tagged as 'docker-compose'

1
answer

Container closes immediately on docker-compose

I set up a larvel project, created a docker-compose below: # v3 syntax version: 3 services: # PHP (apache) blog: image: php:7.1-apache container_name: blog-apache ports: - "8000:80" volumes: - .:/var/www/blog...
asked by 13.10.2018 / 18:57
1
answer

Install mongo driver in container apache + php

I've set container according to yml below: web: container_name: "apache" image: tutum/apache-php ports: - "80:80" volumes: - /home/administrador/public_html:/var/www/html restart: always However, the image used does not...
asked by 01.09.2018 / 21:14
1
answer

Error connecting to MySQL with PHP and Docker

I'm running Docker and in the settings correctly step the credentials for the connection to MySQL (MariaDB), however it always returns the following error: http://localhost/error.php?err=Unable%20to%20connect%20to%20MySQL That is, 'Unable t...
asked by 13.07.2018 / 18:43
2
answers

how to ignore a line in dockerfile using dockerignore?

I need to ignore a line in dockerfile using dockerignore or anything that helps me troubleshoot a problem. I am sending print of the errors that happened. I need to ignore the following line in dockerignore: ADD. / home / hubot / node_modules...
asked by 01.12.2017 / 12:58
1
answer

Doubts the communication between containers

I have a question about container communication, in my docker-compose I am creating a link between the web and mysql container. Would this link be an internal network? If not, would it be more performative to create an internal network?...
asked by 07.10.2017 / 16:08
2
answers

Configure Mysql Workbench in docker

I want to set up my workbench so you can connect with mysql that is running on my docker server but when I try to test the connection, always get the following error: IcreatedtheMysqlcontainerusingdocker-compose.Hereistheconfigurationofmydocker...
asked by 05.06.2017 / 03:50
0
answers

Django 2.0.9 - docker-compose up - creation of super user

Good morning. Can anyone help me with the following problem: I'm creating a docker-compose from a Django application . I need to create a super user at the moment of the command: $ docker-compose up However, I'm not getting it, here...
asked by 03.12.2018 / 22:13
0
answers

Django 2.0.9 - Dock application - Difficulty in completing the process

Good afternoon, guys. I'm doing a job at the University. Basically it is an application in Django version 2.0.9. However, the teacher asked us to perform the following procedure to deploy the application to a university server: "In the las...
asked by 02.12.2018 / 17:57
2
answers

How do I install another Wordpress site using Docker-compose?

I installed the Wordpress in a container in Ubuntu 18.04 lts, through this tutorial here . It worked. Now, I would like to install more than one Wordpress site to create other different projects. How can I do this? Should I create ano...
asked by 14.10.2018 / 19:34
0
answers

Docker: OCI runtime create failed + executable file not found in $ PATH

Good evening guys, I have broken my head here to correctly use dockerfile and docker-compose . I have the image getjv/nodejs:8.11.4 , whenever it starts (container) I already want to raise the Node server with the comm...
asked by 27.08.2018 / 03:41