I am new to using docker and so I have a bunch of questions but I’ll start off with this one:
version: '2' services: web: build: . volumes: - .:/usr/app/src command: python /usr/app/src/dashboard/runserver.py ports: - "5000:5000" links: - postgres - rabbitmq postgres: image: postgres rabbitmq: image: rabbitmq
The problem is that my /etc/hosts file is changed and no env variables are placed to reference postgres or rabbitmq from my web container.
Anyone knows if this is a bug? I commented on a close issue in github where some people were still having problems, but it was not clear if those problems were solved or not.