--- version: "3.8" services: app: environment: - PENPOT_SMTP_PASSWORD_FILE=/var/run/secrets/smtp_password secrets: - smtp_password penpot-backend: environment: - PENPOT_SMTP_PASSWORD_FILE=/var/run/secrets/smtp_password secrets: - smtp_password secrets: smtp_password: external: true name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}