我需要一些帮助,请问我正在将容器推入heroku中,但出现错误
我正在关注本文档
2020-05-24T08:14:23.695153 + 00:00 heroku [web.1]:错误R10(启动超时)-> Web进程在启动后60秒内未能绑定到$ PORT 2020-05-24T08:14:23.717334 + 00:00 heroku [web.1]:使用SIGKILL停止进程 2020-05-24T08:14:23.800926 + 00:00 heroku [web.1]:进程退出,状态为137 2020-05-24T08:14:23.834910 + 00:00 heroku [web.1]:状态从开始更改为崩溃
docker-compose.yml
version: "3.8"
services:
web:
image: nginx:stable
container_name: nginxcontainer
env_file:
- .env
volumes:
- ./:/opt/webapp
- ./default.conf:/etc/nginx/conf.d/default.conf
external_links:
- php
php:
build: .
container_name: php-container
db:
image: postgres:latest
container_name: db-container
ports:
- "5432:5432"
.env
PORT=80