Compare commits
31 Commits
states/202
...
main
Author | SHA1 | Date |
---|---|---|
TheSt1tch | 7cde0d8820 | 1 week ago |
TheSt1tch | 93fd9a5778 | 1 week ago |
TheSt1tch | 5fe604ff0b | 1 week ago |
TheSt1tch | d1e527ac6e | 2 months ago |
TheSt1tch | d257ecaca3 | 2 months ago |
TheSt1tch | cb2b67b4ed | 2 months ago |
TheSt1tch | 297f2b9886 | 2 months ago |
TheSt1tch | 619e692280 | 3 months ago |
TheSt1tch | 2b36b12528 | 4 months ago |
TheSt1tch | e8998d8d0e | 4 months ago |
TheSt1tch | de8735039d | 5 months ago |
TheSt1tch | 634a37a594 | 5 months ago |
TheSt1tch | d999b77188 | 5 months ago |
TheSt1tch | 193087ba7a | 5 months ago |
TheSt1tch | 9d0bff8ea1 | 5 months ago |
TheSt1tch | b990a80182 | 5 months ago |
TheSt1tch | 06bdcf1237 | 5 months ago |
TheSt1tch | 24619b7a1b | 5 months ago |
TheSt1tch | 30b154c8ec | 5 months ago |
TheSt1tch | bbb783228e | 5 months ago |
TheSt1tch | 3bd9e53841 | 5 months ago |
thest1tch | 715627d6b8 | 5 months ago |
TheSt1tch | 5d90e07d15 | 5 months ago |
TheSt1tch | b1d0f3fb64 | 5 months ago |
TheSt1tch | 1b830e48cd | 5 months ago |
TheSt1tch | 6ee61a110e | 5 months ago |
TheSt1tch | 99f75d82e2 | 5 months ago |
thest1tch | dd13eb9833 | 7 months ago |
TheSt1tch | a1edb4ea4b | 7 months ago |
TheSt1tch | 3c2e3e7790 | 7 months ago |
thest1tch | 35795a1e08 | 8 months ago |
@ -0,0 +1,23 @@
|
|||||||
|
# MariaDB
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
services:
|
||||||
|
mariadb:
|
||||||
|
container_name: mariadb
|
||||||
|
image: mariadb:latest #11.5.2
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5s
|
||||||
|
security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239
|
||||||
|
- seccomp:unconfined
|
||||||
|
- apparmor:unconfined
|
||||||
|
command: --innodb-buffer-pool-size=512M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
|
||||||
|
volumes:
|
||||||
|
- "./database:/var/lib/mysql"
|
||||||
|
environment:
|
||||||
|
MARIADB_AUTO_UPGRADE: "1"
|
||||||
|
MARIADB_INITDB_SKIP_TZINFO: "1"
|
||||||
|
MARIADB_DATABASE: "name_db"
|
||||||
|
MARIADB_USER: "username"
|
||||||
|
MARIADB_PASSWORD: "pass_user"
|
||||||
|
MARIADB_ROOT_PASSWORD: "root_pass"
|
||||||
|
```
|
@ -0,0 +1,12 @@
|
|||||||
|
# OIDC логин через Authentik
|
||||||
|
|
||||||
|
Добавил авторизацию через Authentik, но потребовалось сделать так, чтобы формы входа не было. Чтобы сразу шел редирект на страницу авторизации Authentik.
|
||||||
|
|
||||||
|
Для этого нужно выолпнить команду (nextcloud в докере):
|
||||||
|
|
||||||
|
```
|
||||||
|
docker exec -ti --user 1000 nextcloud_app php occ config:app:set --value=0 user_oidc allow_multiple_user_backends
|
||||||
|
```
|
||||||
|
где `nextcloud_app` - имя контейнера
|
||||||
|
|
||||||
|
Применимо только для приложения nextcloud: **user_oidc** (https://github.com/nextcloud/user_oidc)
|
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="640" height="640" viewBox="0 0 640 640" xml:space="preserve">
|
||||||
|
<desc>Created with Fabric.js 5.3.0</desc>
|
||||||
|
<defs>
|
||||||
|
</defs>
|
||||||
|
<g transform="matrix(0.9544918218 0 0 0.9544918218 320 325.5657767239)" id="0UAuLmXgnot4bJxVEVJCQ" >
|
||||||
|
<linearGradient id="SVGID_136_0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1 0 0 1 -236.6470440833 -213.9441386034)" x1="259.78" y1="261.15" x2="463.85" y2="456.49">
|
||||||
|
<stop offset="0%" style="stop-color:#74C2FF;stop-opacity: 1"/>
|
||||||
|
<stop offset="100%" style="stop-color:rgb(134,230,169);stop-opacity: 1"/>
|
||||||
|
</linearGradient>
|
||||||
|
<path style="stroke: rgb(242,242,242); stroke-opacity: 0.51; stroke-width: 190; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: url(#SVGID_136_0); fill-rule: nonzero; opacity: 1;" transform=" translate(0, 0)" d="M 131.8665 -139.04883 C 159.01022 -111.20969000000001 170.12421 -99.45396000000001 203.11849999999998 -51.72057000000001 C 236.1128 -3.9871800000000093 264.44147999999996 83.98416999999998 187.33995 144.05073 C 177.72728999999998 151.53955 166.73827 158.81189999999998 154.65932999999998 165.65812999999997 C 69.85514999999998 213.72433999999998 -68.67309000000003 240.78578 -161.79279 174.28328999999997 C -268.17583 98.30862999999997 -260.10282 -68.66557000000003 -144.35093 -170.50579000000005 C -28.599040000000002 -272.34602000000007 104.72278 -166.88797000000005 131.86649999999997 -139.04883000000004 z" stroke-linecap="round" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 112 KiB |
@ -0,0 +1,4 @@
|
|||||||
|
# Полезные ресурсы
|
||||||
|
|
||||||
|
[HTPasswd Generator](https://www.web2generators.com/apache-tools/htpasswd-generator)
|
||||||
|
|
@ -1,2 +1,3 @@
|
|||||||
User-agent: *
|
User-agent: *
|
||||||
Sitemap: https://st1t.ru/sitemap.xml
|
Sitemap: https://st1t.ru/sitemap.xml
|
||||||
|
Clean-param: q
|
@ -1,3 +1,36 @@
|
|||||||
steps:
|
steps:
|
||||||
buildDocs:
|
build-docs:
|
||||||
image: woodpeckerci/plugin-mkdocs:latest
|
# build the docs in /docs with mkdocs and
|
||||||
|
# add the .domains file for codeberg pages
|
||||||
|
image: squidfunk/mkdocs-material
|
||||||
|
commands:
|
||||||
|
- mkdocs build -f ./mkdocs.yml -d docs_build
|
||||||
|
- git switch --orphan pages
|
||||||
|
- mv docs_build/* .
|
||||||
|
- echo -e 'openfindata.org\nopenfindata.codeberg.page\npages.openfindata.codeberg.page' > .domains
|
||||||
|
when:
|
||||||
|
path:
|
||||||
|
include:
|
||||||
|
- 'mkdocs.yml'
|
||||||
|
- 'docs/**'
|
||||||
|
|
||||||
|
deploy-docs:
|
||||||
|
# Push the resulting files to openfindata/pages
|
||||||
|
# to deploy
|
||||||
|
name: Push built docs to codeberg pages
|
||||||
|
image: appleboy/drone-git-push
|
||||||
|
settings:
|
||||||
|
branch: main
|
||||||
|
remote: git@codeberg.org:openfindata/pages.git
|
||||||
|
force: true
|
||||||
|
commit: true
|
||||||
|
ssh_key:
|
||||||
|
# created using woodpecker cli with:
|
||||||
|
# woodpecker secret add -repository openfindata/openfindata \
|
||||||
|
# -name codeberg_push_from_ci_priv_key -value @<path_to_privkey_file>
|
||||||
|
from_secret: codeberg_push_from_ci_priv_key
|
||||||
|
when:
|
||||||
|
path:
|
||||||
|
include:
|
||||||
|
- 'mkdocs.yml'
|
||||||
|
- 'docs/**'
|
Loading…
Reference in New Issue