Reviewed-on: #1
This commit is contained in:
parent
05474d5046
commit
cdd66c8757
4
.env
4
.env
@ -1,8 +1,8 @@
|
|||||||
PROD_URL=matrix.gmoker.com
|
PROD_URL=matrix.gmoker.com
|
||||||
SERVER_NAME=gmoker.com
|
SERVER_NAME=gmoker.com
|
||||||
IMAGEAPP=ghcr.io/element-hq/synapse:v1.107.0
|
IMAGEAPP=ghcr.io/element-hq/synapse:v1.115.0
|
||||||
|
|
||||||
TURN_URL=turn.test.gmoker.com
|
TURN_URL=turn.test.gmoker.com
|
||||||
IMAGECOTURN=docker.io/coturn/coturn:4.6.2
|
IMAGECOTURN=docker.io/coturn/coturn:4.6.2-r12
|
||||||
|
|
||||||
MAX_UPLOAD_SIZE=50M
|
MAX_UPLOAD_SIZE=50M
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
server_name: "$SERVER_NAME"
|
server_name: "$SERVER_NAME"
|
||||||
public_baseurl: "https://$BASE_URL"
|
public_baseurl: "https://$BASE_URL"
|
||||||
pid_file: /homeserver.pid
|
pid_file: /homeserver.pid
|
||||||
web_client: false
|
web_client: False
|
||||||
soft_file_limit: 0
|
soft_file_limit: 0
|
||||||
log_config: "/config/log.config"
|
log_config: "/config/log.config"
|
||||||
|
|
||||||
listeners:
|
listeners:
|
||||||
- port: 8008
|
- port: 8008
|
||||||
tls: false
|
tls: False
|
||||||
type: http
|
|
||||||
x_forwarded: true
|
|
||||||
bind_addresses: ['::']
|
bind_addresses: ['::']
|
||||||
|
type: http
|
||||||
|
x_forwarded: False
|
||||||
resources:
|
resources:
|
||||||
- names: [client, federation]
|
- names: [client, federation]
|
||||||
compress: true
|
compress: true
|
||||||
@ -39,7 +39,7 @@ federation_rc_concurrent: 3
|
|||||||
media_store_path: "/data/media"
|
media_store_path: "/data/media"
|
||||||
max_upload_size: "50M"
|
max_upload_size: "50M"
|
||||||
max_image_pixels: "32M"
|
max_image_pixels: "32M"
|
||||||
dynamic_thumbnails: false
|
dynamic_thumbnails: False
|
||||||
|
|
||||||
thumbnail_sizes:
|
thumbnail_sizes:
|
||||||
- width: 32
|
- width: 32
|
||||||
@ -58,24 +58,23 @@ thumbnail_sizes:
|
|||||||
height: 600
|
height: 600
|
||||||
method: scale
|
method: scale
|
||||||
|
|
||||||
url_preview_enabled: false
|
url_preview_enabled: False
|
||||||
max_spider_size: "10M"
|
max_spider_size: "10M"
|
||||||
|
|
||||||
enable_registration_captcha: false
|
enable_registration_captcha: False
|
||||||
|
|
||||||
turn_uris: [ "turn:$TURN_URL?transport=tcp", "turn:$TURN_URL?transport=udp" ]
|
turn_uris: [ "turn:$TURN_URL?transport=tcp", "turn:$TURN_URL?transport=udp" ]
|
||||||
turn_shared_secret: "$TURN_SHARED_SECRET"
|
turn_shared_secret: "$TURN_SHARED_SECRET"
|
||||||
turn_user_lifetime: "1h"
|
turn_user_lifetime: "1h"
|
||||||
turn_allow_guests: true
|
turn_allow_guests: True
|
||||||
|
|
||||||
enable_registration: false
|
enable_registration: False
|
||||||
registration_shared_secret: "$REGISTRATION_SECRET"
|
registration_shared_secret: "$REGISTRATION_SECRET"
|
||||||
|
|
||||||
enable_metrics: true
|
enable_metrics: True
|
||||||
report_stats: true
|
report_stats: True
|
||||||
|
|
||||||
macaroon_secret_key: "$API_SECRET"
|
macaroon_secret_key: "$API_SECRET"
|
||||||
expire_access_token: false
|
|
||||||
|
|
||||||
signing_key_path: "/keys/signing.key"
|
signing_key_path: "/keys/signing.key"
|
||||||
key_refresh_interval: "1d"
|
key_refresh_interval: "1d"
|
||||||
@ -86,6 +85,6 @@ trusted_key_servers:
|
|||||||
"ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
|
"ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
|
||||||
|
|
||||||
password_config:
|
password_config:
|
||||||
enabled: true
|
enabled: True
|
||||||
|
|
||||||
encryption_enabled_by_default_for_room_type: "all"
|
encryption_enabled_by_default_for_room_type: "all"
|
||||||
|
@ -54,8 +54,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: app
|
app: app
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
|
||||||
- name: regcred
|
|
||||||
containers:
|
containers:
|
||||||
- name: app
|
- name: app
|
||||||
image: "$IMAGEAPP"
|
image: "$IMAGEAPP"
|
||||||
|
Loading…
Reference in New Issue
Block a user