temporarily switch back to rabbitpass as the password until we can figure out providing rabbitmq it's secret

This commit is contained in:
2025-04-30 18:13:45 -04:00
parent ad96155a2c
commit e323462298
2 changed files with 21 additions and 11 deletions

View File

@ -13,7 +13,7 @@ redis = "redis://redis/"
host = "rabbit"
port = 5672
username = "rabbituser"
password = "{{ secret "rabbit_password" }}"
password = "rabbitpass"
[api]
@ -36,14 +36,13 @@ authifier_shield_key = ""
voso_legacy_token = ""
trust_cloudflare = false
{{ if eq "SECURITY_CAPTCHA_ENABLED" "true"}}
{{ if eq (env "SECURITY_CAPTCHA_ENABLED") "true" }}
[api.security.captcha]
hcaptcha_key = "{{ }}"
hcaptcha_sitekey = ""
hcaptcha_key = "{{ secret "hcaptcha_key" }}"
hcaptcha_sitekey = "{{ secret "hcaptcha_sitekey" }}"
{{ end }}
[api.workers]
# Maximum concurrent connections (to proxy server)
max_concurrent_connections = 50
[api.users]
@ -65,7 +64,7 @@ ack_queue = "notifications.process.ack"
private_key = "{{ secret "private_key" }}"
public_key = "{{ secret "public_key" }}"
{{ if eq "NOTIFICATIONS_FCM_ENABLED" "true"}}
{{ if eq (env "NOTIFICATIONS_FCM_ENABLED") "true" }}
[pushd.fcm]
queue = "notifications.outbound.fcm"
key_type = ""
@ -80,7 +79,7 @@ auth_provider_x509_cert_url = ""
client_x509_cert_url = ""
{{ end }}
{{ if eq "NOTIFICATIONS_APN_ENABLED" "true"}}
{{ if eq (env "NOTIFICATIONS_APN_ENABLED") "true" }}
[pushd.apn]
sandbox = false
queue = "notifications.outbound.apn"
@ -167,4 +166,4 @@ banners = 6_000_000
emojis = 500_000
[features.advanced]
process_message_delay_limit = 5
process_message_delay_limit = 5

View File

@ -78,6 +78,8 @@ services:
RABBITMQ_DEFAULT_PASS: rabbitpass
volumes:
- rabbit:/var/lib/rabbitmq
secrets:
- rabbit_password
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 10s
@ -264,11 +266,20 @@ services:
image: docker.io/minio/mc
depends_on:
- minio
deploy:
restart_policy:
condition: on-failure
max_attempts: 5
entrypoint: >
/bin/sh -c " while ! /usr/bin/mc ready minio; do
/bin/sh -c " if /usr/bin/mc ready minio; then
/usr/bin/mc config host add minio http://minio:9000 minioautumn minioautumn;
echo 'Waiting minio...' && sleep 1;
done; /usr/bin/mc mb minio/revolt-uploads; exit 0; "
/usr/bin/mc mb minio/revolt-uploads;
echo 'Successfully created bucket';
exit 0;
else
echo 'Minio not ready, will retry on next container restart';
exit 1;
fi "
networks:
internal: