mirror of
https://github.com/chatmail/relay.git
synced 2026-06-09 13:11:08 +00:00
Compare commits
3 Commits
auth-fixing
...
scripts
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f89b52d5b | |||
| 9da375cf5c | |||
| 8086e2ee2f |
@@ -16,5 +16,5 @@ For DKIM you must add a DNS entry as in /etc/opendkim/selector.txt (where select
|
|||||||
## Run with pyinfra
|
## Run with pyinfra
|
||||||
|
|
||||||
```
|
```
|
||||||
CHATMAIL_DOMAIN=c1.testrun.org pyinfra c1.testrun.org deploy.py
|
CHATMAIL_DOMAIN=c1.testrun.org pyinfra --ssh-user root c1.testrun.org deploy.py
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
|
|
||||||
chatmail = [
|
|
||||||
(
|
|
||||||
"c1.testrun.org",
|
|
||||||
{
|
|
||||||
"ssh_user": "root",
|
|
||||||
"domain": "c1.testrun.org",
|
|
||||||
"dkim_selector": "2023",
|
|
||||||
},
|
|
||||||
),
|
|
||||||
]
|
|
||||||
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
export CHATMAIL_DOMAIN="${1:-c1.testrun.org}"
|
||||||
|
venv/bin/pyinfra --ssh-user root "$CHATMAIL_DOMAIN" deploy.py
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
python3 -m venv venv
|
||||||
|
venv/bin/pip install pyinfra
|
||||||
|
venv/bin/pip install -e .
|
||||||
Reference in New Issue
Block a user