use tls
This commit is contained in:
parent
aeb565e58f
commit
34bcf32017
7 changed files with 5 additions and 75 deletions
|
@ -18,7 +18,7 @@ steps:
|
||||||
stack: "lit-docs"
|
stack: "lit-docs"
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_deploy_key
|
from_secret: drone_deploy_key
|
||||||
host: "local-it.lit"
|
host: "docs.local-it.org"
|
||||||
user: "root"
|
user: "root"
|
||||||
port: 22
|
port: 22
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -20,7 +20,8 @@ services:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.services.lit_docs.loadbalancer.server.port=8000"
|
- "traefik.http.services.lit_docs.loadbalancer.server.port=8000"
|
||||||
- "traefik.http.routers.lit_docs.rule=Host(`docs.local-it.org`)"
|
- "traefik.http.routers.lit_docs.rule=Host(`docs.local-it.org`)"
|
||||||
- "traefik.http.routers.lit_docs.entrypoints=web"
|
- "traefik.http.routers.lit_docs.entrypoints=web-secure"
|
||||||
|
- "traefik.http.routers.lit_docs.tls.certresolver=production"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# EMail
|
|
||||||
|
|
||||||
* DebianTemplate duplizieren
|
|
||||||
* HA einrichten
|
|
||||||
|
|
||||||
https://github.com/mailcow/mailcow-dockerized
|
|
||||||
|
|
||||||
[DNS](https://mailcow.github.io/mailcow-dockerized-docs/prerequisite-dns/)
|
|
||||||
[installation](https://mailcow.github.io/mailcow-dockerized-docs/i_u_m_install/)
|
|
||||||
|
|
||||||
[backup](https://mailcow.github.io/mailcow-dockerized-docs/third_party-borgmatic/)
|
|
||||||
|
|
||||||
|
|
||||||
ssh://u263336@u263336.your-storagebox.de:23/home/mailcow
|
|
||||||
|
|
||||||
|
|
||||||
## ToDo
|
|
||||||
|
|
||||||
* PTR einträge (windcloud fragen)
|
|
||||||
wo dns hosten?
|
|
||||||
|
|
||||||
* bei problemen ipv6 deaktivieren
|
|
|
@ -1,32 +0,0 @@
|
||||||
# Foodsoft
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Migration
|
|
||||||
|
|
||||||
1. Neue instanz aufsetzen
|
|
||||||
2. Backup aus alter instanz erstellen
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
docker exec foodcoops_mariadb_1 bash -c "mysqldump -ufoodsoft -p${DB_PASSWORD} foodsoft_demo" > 2022-02-27.sql
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Backup einspielen
|
|
||||||
|
|
||||||
```
|
|
||||||
➜ docker cp 2022-01-04.sql wandelgut-foodsoft_db.1.b1nspplwa49o55pwj5ddcnn0r:/tmp/
|
|
||||||
➜ docker exec -it wandelgut-foodsoft_db.1.b1nspplwa49o55pwj5ddcnn0r bash
|
|
||||||
root@dcdca844b2f1:/# cd /tmp/
|
|
||||||
|
|
||||||
mysql -p$(cat /run/secrets/db_root_password)
|
|
||||||
|
|
||||||
MariaDB [(none)]> create database tantewandel;
|
|
||||||
|
|
||||||
root@dcdca844b2f1:/tmp# mysql -p$(cat /run/secrets/db_root_password) tantewandel < 2022-01-04.sql
|
|
||||||
root@dcdca844b2f1:/tmp# exit
|
|
||||||
➜ docker exec -it wandelgut-foodsoft_app.1.zvlhnq4vvmlf4iuck7ymz96xu bash
|
|
||||||
nobody@22e376ecea83:/usr/src/app$ SECRET_KEY_BASE=$(cat /run/secrets/secret_key_base) bundle exec rake db:migrate
|
|
||||||
```
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
# Mobilizon
|
|
||||||
|
|
||||||
Ziel: Lübecks veranstaltungen auf einer freien Plattform
|
|
||||||
|
|
||||||
These: Bürgis wollen eine andere Plattform als fb für Veranstaltungen
|
|
||||||
Experiment:
|
|
||||||
|
|
||||||
https://mobilizon.org/de/
|
|
||||||
https://docs.joinmobilizon.org/administration/install/docker/
|
|
||||||
https://framagit.org/framasoft/joinmobilizon/docker/-/blob/master/docker-compose.yml
|
|
|
@ -6,10 +6,8 @@ im authentik:
|
||||||
app anlegen
|
app anlegen
|
||||||
|
|
||||||
|
|
||||||
!!! note "Auf lit.cloud Infrastruktur"
|
|
||||||
`git clone https://git.local-it.org/LIT/nextcloud ~/.abra/apps/nextcloud`
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
git clone https://git.local-it.org/LIT/nextcloud ~/.abra/apps/nextcloud
|
||||||
abra app new --secrets --domain example.com --server servername --app-name servername_cloud cloud
|
abra app new --secrets --domain example.com --server servername --app-name servername_cloud cloud
|
||||||
abra config servername_cloud
|
abra config servername_cloud
|
||||||
abra deploy servername_cloud
|
abra deploy servername_cloud
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
# Onlyoffice
|
# Onlyoffice
|
||||||
|
|
||||||
!!! note "Auf lit.cloud Infrastruktur"
|
|
||||||
```
|
```
|
||||||
git clone https://git.local-it.org/LIT/onlyoffice.git ~/.abra/apps/onlyoffice
|
git clone https://git.local-it.org/LIT/onlyoffice.git ~/.abra/apps/onlyoffice
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
abra app new --domain office.example.com --server servername --app-name servername_onlyoffice onlyoffice
|
abra app new --domain office.example.com --server servername --app-name servername_onlyoffice onlyoffice
|
||||||
abra app config servername_onlyoffice
|
abra app config servername_onlyoffice
|
||||||
abra app deploy servername_onlyoffice
|
abra app deploy servername_onlyoffice
|
||||||
|
|
Loading…
Reference in a new issue