services: capsule: image: git.joeac.net/joeac/joeac.net-capsule build: context: . dockerfile: capsule.Dockerfile ports: - "1965:1965" website: image: git.joeac.net/joeac/joeac.net-website build: context: . dockerfile: website.Dockerfile args: LOCAL_SMTP_HOST: smtp LOCAL_SMTP_PORT: 2500 LOCAL_SMTP_PASSWORD: smtp env_file: - .env ports: - "8000:4321" smtp: image: git.joeac.net/joeac/joeac.net-smtp build: context: smtp args: LOCAL_SMTP_PORT: 2500 env_file: - .env environment: LOCAL_SMTP_PORT: 2500 LOCAL_SMTP_PASSWORD: smtp REMOTE_SMTP_PASSWORD_FILE: /run/secrets/remote_smtp_password secrets: - remote_smtp_password secrets: remote_smtp_password: external: true