vyper / docker-firebird

MIT License
2 stars 0 forks source link

Can't Connect with Localhost #1

Open wac2007 opened 7 years ago

wac2007 commented 7 years ago

Hi, i'm new in Docker World and i'm trying to run two containers, one with firebird 1.5 and another with php.

Here's my code (docker-compose.yml)

php:
  build: .
  ports:
   - "80:80"
   - "443:443"
  volumes:
   - /Users/wallacecoelho/development/php:/var/www/html
   - /Users/wallacecoelho/development/docker-php/custom.ini:/usr/local/etc/php/conf.d/custom.ini
  links:
   - firebird

firebird:
  image: vyper/firebird
  ports:
   - "3050:3050"
  volumes:
   - /Users/wallacecoelho/databases/firebird:/var
  tty: true

Here's my dockerfile of php

RUN apt-get update && apt-get install -y \
libmcrypt-dev \
&& docker-php-ext-install -j$(nproc) mcrypt

When i try to connect from host, i can't find the server, but i can run sql commands when I'm in container with isql.

captura de tela 2017-05-05 as 20 15 57

Someone can help-me?

kovalroma commented 6 years ago

The same problem here.