我有这个文件“docker-compose.yml”
version: '3'
services:
web:
build: .
#command: bash -c "foreman start -f Procfile.dev-server"
ports:
- "3000:3000"
volumes:
- .:/app
environment:
DATABASE_HOST: database
POSTGRES_USER: postgres
POSTGRES_PASSWORD: miclave
POSTGRES_DB: myapp_development
links:
- mailcatcher
depends_on:
- database
stdin_open: true
tty: true
database:
image: postgres
ports:
- "5432:5432"
volumes:
- .:/app
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: miclave
POSTGRES_DB: myapp_development
mailcatcher:
image: zolweb/docker-mailcatcher:latest
ports:
- "1025:1025"
- "1080:1080"
当我尝试从我的 ruby on rails web 应用程序发送电子邮件时,我收到此错误:
谁能帮我找出我做错了什么?谢谢