Add .editorconfig

This commit is contained in:
Ivan R. 2024-12-15 23:04:15 +05:00
parent b38a17e8f2
commit 2e63da4741
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
5 changed files with 17 additions and 5 deletions

12
.editorconfig Normal file
View file

@ -0,0 +1,12 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab

View file

@ -10,7 +10,7 @@ argument_specs:
type: int type: int
archive_dir: archive_dir:
type: str type: str
description: "Path to the archive directory" description: "Path to the archive directory"
csrf_trusted_origins: csrf_trusted_origins:
type: str type: str
required: true required: true

View file

@ -38,10 +38,10 @@ frontend http
acl path_streaming_api path_beg /api/v1/streaming acl path_streaming_api path_beg /api/v1/streaming
use_backend mastodon_streaming if host_mastodon_tor path_streaming_api use_backend mastodon_streaming if host_mastodon_tor path_streaming_api
use_backend mastodon if host_mastodon_tor use_backend mastodon if host_mastodon_tor
acl host_peertube_tor hdr(host) -i vcomfyooxdbibyusen75qbzaunrjykw2cxkc6txm6qykkdv4z2danpid.onion acl host_peertube_tor hdr(host) -i vcomfyooxdbibyusen75qbzaunrjykw2cxkc6txm6qykkdv4z2danpid.onion
use_backend peertube if host_peertube_tor use_backend peertube if host_peertube_tor
acl host_comfycamp_tor hdr(host) -i comfycgmgfvowbbw2ckkobuvk4cejo2e56uxrhznravxnrl7itftpkad.onion acl host_comfycamp_tor hdr(host) -i comfycgmgfvowbbw2ckkobuvk4cejo2e56uxrhznravxnrl7itftpkad.onion
use_backend comfycamp if host_comfycamp_tor use_backend comfycamp if host_comfycamp_tor

View file

@ -36,7 +36,7 @@
community.docker.docker_container_exec: community.docker.docker_container_exec:
container: postgresql container: postgresql
argv: argv:
- /bin/bash - /bin/bash
- "-c" - "-c"
- echo "{{ lookup('file', 'create-user.sql') }}" | psql -U postgres - echo "{{ lookup('file', 'create-user.sql') }}" | psql -U postgres
- name: Create roles - name: Create roles

View file

@ -85,7 +85,7 @@ http_external_url = "https://xmpp.comfycamp.space/"
http_ports = { 5280 } http_ports = { 5280 }
http_interfaces = { "*" } http_interfaces = { "*" }
https_ports = { 5281 } https_ports = { 5281 }
https_interfaces = { "*" } https_interfaces = { "*" }