version: '3' services: email_delivery_check_mail: image: email_delivery_check env_file: .mail1.example.com.env environment: - MAIL_SERVER=mail1.example.com - RUNNING_ON_DOCKER=TRUE restart: always build: context: ./ email_delivery_check_mail2: image: email_delivery_check env_file: .mail1.example.com.env environment: - MAIL_SERVER=mail2.example.com - RUNNING_ON_DOCKER=TRUE restart: always build: context: ./