version: "3" services: app: build: . command: python -m flask run --host 0.0.0.0 --port 5000 environment: - FLASK_APP=serve.py - FLASK_ENV=development ports: - "5000:5000" volumes: - .:/var/www/flask-bones worker: build: . command: python -m flask rq worker environment: - FLASK_APP=serve.py volumes: - .:/var/www/flask-bones mail: image: "mailhog/mailhog" ports: - "8025:8025" memcached: image: "memcached:alpine" postgres: image: "postgres:alpine" redis: image: "redis:alpine"