mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Compare commits
3 Commits
auth-fixin
...
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
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
11
c1-inv.py
11
c1-inv.py
@@ -1,11 +0,0 @@
|
||||
|
||||
chatmail = [
|
||||
(
|
||||
"c1.testrun.org",
|
||||
{
|
||||
"ssh_user": "root",
|
||||
"domain": "c1.testrun.org",
|
||||
"dkim_selector": "2023",
|
||||
},
|
||||
),
|
||||
]
|
||||
3
scripts/deploy.sh
Executable file
3
scripts/deploy.sh
Executable file
@@ -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
|
||||
4
scripts/init.sh
Executable file
4
scripts/init.sh
Executable file
@@ -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