version: '3' services: db: image: postgres web: build: . command: bash -c 'rm -f tmp/pids/server.pid && bin/dev --binding 0.0.0.0' volumes: - .:/app ports: - 3000:3000 depends_on: - db env_file: - .env.docker