From 68a609593edc7d841aee7e803ae46e905f08e9f3 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Sun, 27 Sep 2020 13:15:32 +0200 Subject: [PATCH] Add Drone CI --- .drone.yml | 19 +++++++++++++++++++ README.md | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a589dcc --- /dev/null +++ b/.drone.yml @@ -0,0 +1,19 @@ +--- +kind: pipeline +name: deploy to swarm-test.autonomic.zone +steps: + - name: deployment + image: decentral1se/stack-ssh-deploy:latest + settings: + host: swarm-test.autonomic.zone + stack: postfix-relay + purge: true + deploy_key: + from_secret: drone_ssh_swarm_test + environment: + DOMAIN: swarm-test.autonomic.zone + STACK_NAME: postfix-relay + LETS_ENCRYPT_ENV: production +trigger: + branch: + - main diff --git a/README.md b/README.md index 392c55e..518b465 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ that in terms of reverse DNS? ## Using this in other stacks Add the other service to the (internal) `mail` network, and set whatever options -the image supports for auto-configuring SMTP settings. +the image supports for auto-configuring SMTP settings. For reusable stacks, you probably want to put this configuration in a separate `compose.mailrelay.yml` file, e.g. [the version in