version: '3'
services:
  postgres:
    image: postgres
  email:
    image: djfarrelly/maildev
    ports:
    - 1080:80
  learning-circles:
    build: .
    image: learning-circles
    links:
    - selenium
    ports:
    - "8000:8000"
    volumes:
    - .:/opt/app
    depends_on:
    - postgres
    - email
    command: /opt/django-venv/bin/python manage.py runserver 0.0.0.0:8000
    environment:
    - DATABASE_URL=postgres://lc:password@postgres:5432/lc
    - SECRET_KEY=321
    - BROKER_URL=amqp://guest:guest@rabbitmq//
    - EMAIL_HOST=email
    - COMMUNITY_MANAGER=user@mail.com
    - DEFAULT_FROM_EMAIL=notify@mail.com
    - DEBUG=true
  frontend:
    image: p2pu/js-build:carbon-alpine
    volumes:
    - .:/opt/app
    working_dir: /opt/app
    command: sh -c "npm i && npm run watch"
  selenium:
    image: selenium/standalone-chrome-debug:3.7.1
    ports:
      - 4444:4444
      - 5900:5900


version: '3'
services:
  postgres:
    image: postgres
  email:
    image: djfarrelly/maildev
    ports:
    - 1080:80
  learning-circles:
    build: .
    image: learning-circles
    links:
    - selenium
    ports:
    - "8000:8000"
    volumes:
    - .:/opt/app
    depends_on:
    - postgres
    - email
    command: /opt/django-venv/bin/python manage.py runserver 0.0.0.0:8000
    environment:
    - DATABASE_URL=postgres://lc:password@postgres:5432/lc
    - SECRET_KEY=321
    - BROKER_URL=amqp://guest:guest@rabbitmq//
    - EMAIL_HOST=email
    - COMMUNITY_MANAGER=user@mail.com
    - DEFAULT_FROM_EMAIL=notify@mail.com
    - ADMIN_EMAIL=admin@localhost
    - DEBUG=true
  frontend:
    image: p2pu/js-build:carbon-alpine
    volumes:
    - .:/opt/app
    working_dir: /opt/app
    command: sh -c "npm i && npm run watch"
  selenium:
    image: selenium/standalone-chrome-debug:3.7.1
    ports:
      - 5900:5900


Update environment variables for docker compose so that testing succeeds
Update environment variables for docker compose so that testing succeeds
