filipeff12
Portugal@Home Member
Boas, não sei se este é o melhor sitio para colocar esta dúvida mas aqui vai.
É o seguinte, tenho andado nos últimos dias a tentar colocar dois containers do docker a funcionar, um com o mySQL e outro com o collective access mas nao estou a conseguir.
Eu penso que o problema seja derivado aos dois containers nao estarem a comunicarem entre si, mas nao tenho a certeza. Isto pode estar relacionado com esta linha no setup.php
http://prntscr.com/f72wy9
Se alguem me poder ajudar agradecia !!!
vou aqui colocar um post que eu fiz no forum do Docker (por isso está em Inglês) :
------------------------------------
Hi, I am new to docker so probably I'm doing something wrong that is very simple to resolve, but I have been trying with no result
I want to make a docker-compose.yml file that creates two containter one running collective access and another one running mysql and then connect the two together.
I have found this on github --https://github.com/TaisceCheol/itma.docker.collectiveaccess and now I want to put this docker commands on a compose file.
So far i got this :
compose file --> https://pastebin.com/UfBrccmy
Dockerfile --> https://pastebin.com/4FsNfUtk
Incase you are wondering, yes I configured my setup.php file, because when I run the commands described on github page and put my sql credentials a setup.php file it runs fine, but when I run docker-compose up -d it seems that there is no connection between the two containers and i get this page :
instead of this :
Also I have tried using this compose file ---> https://pastebin.com/qQ7xQLjh
É o seguinte, tenho andado nos últimos dias a tentar colocar dois containers do docker a funcionar, um com o mySQL e outro com o collective access mas nao estou a conseguir.
Eu penso que o problema seja derivado aos dois containers nao estarem a comunicarem entre si, mas nao tenho a certeza. Isto pode estar relacionado com esta linha no setup.php
http://prntscr.com/f72wy9
Se alguem me poder ajudar agradecia !!!
vou aqui colocar um post que eu fiz no forum do Docker (por isso está em Inglês) :
------------------------------------
Hi, I am new to docker so probably I'm doing something wrong that is very simple to resolve, but I have been trying with no result
I want to make a docker-compose.yml file that creates two containter one running collective access and another one running mysql and then connect the two together.
I have found this on github --https://github.com/TaisceCheol/itma.docker.collectiveaccess and now I want to put this docker commands on a compose file.
So far i got this :
compose file --> https://pastebin.com/UfBrccmy
Dockerfile --> https://pastebin.com/4FsNfUtk
Incase you are wondering, yes I configured my setup.php file, because when I run the commands described on github page and put my sql credentials a setup.php file it runs fine, but when I run docker-compose up -d it seems that there is no connection between the two containers and i get this page :
instead of this :
Also I have tried using this compose file ---> https://pastebin.com/qQ7xQLjh
Última edição: