temporarily switch back to rabbitpass as the password until we can figure out providing rabbitmq it's secret
This commit is contained in:
@ -13,7 +13,7 @@ redis = "redis://redis/"
|
|||||||
host = "rabbit"
|
host = "rabbit"
|
||||||
port = 5672
|
port = 5672
|
||||||
username = "rabbituser"
|
username = "rabbituser"
|
||||||
password = "{{ secret "rabbit_password" }}"
|
password = "rabbitpass"
|
||||||
|
|
||||||
[api]
|
[api]
|
||||||
|
|
||||||
@ -36,14 +36,13 @@ authifier_shield_key = ""
|
|||||||
voso_legacy_token = ""
|
voso_legacy_token = ""
|
||||||
trust_cloudflare = false
|
trust_cloudflare = false
|
||||||
|
|
||||||
{{ if eq "SECURITY_CAPTCHA_ENABLED" "true"}}
|
{{ if eq (env "SECURITY_CAPTCHA_ENABLED") "true" }}
|
||||||
[api.security.captcha]
|
[api.security.captcha]
|
||||||
hcaptcha_key = "{{ }}"
|
hcaptcha_key = "{{ secret "hcaptcha_key" }}"
|
||||||
hcaptcha_sitekey = ""
|
hcaptcha_sitekey = "{{ secret "hcaptcha_sitekey" }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
[api.workers]
|
[api.workers]
|
||||||
# Maximum concurrent connections (to proxy server)
|
|
||||||
max_concurrent_connections = 50
|
max_concurrent_connections = 50
|
||||||
|
|
||||||
[api.users]
|
[api.users]
|
||||||
@ -65,7 +64,7 @@ ack_queue = "notifications.process.ack"
|
|||||||
private_key = "{{ secret "private_key" }}"
|
private_key = "{{ secret "private_key" }}"
|
||||||
public_key = "{{ secret "public_key" }}"
|
public_key = "{{ secret "public_key" }}"
|
||||||
|
|
||||||
{{ if eq "NOTIFICATIONS_FCM_ENABLED" "true"}}
|
{{ if eq (env "NOTIFICATIONS_FCM_ENABLED") "true" }}
|
||||||
[pushd.fcm]
|
[pushd.fcm]
|
||||||
queue = "notifications.outbound.fcm"
|
queue = "notifications.outbound.fcm"
|
||||||
key_type = ""
|
key_type = ""
|
||||||
@ -80,7 +79,7 @@ auth_provider_x509_cert_url = ""
|
|||||||
client_x509_cert_url = ""
|
client_x509_cert_url = ""
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if eq "NOTIFICATIONS_APN_ENABLED" "true"}}
|
{{ if eq (env "NOTIFICATIONS_APN_ENABLED") "true" }}
|
||||||
[pushd.apn]
|
[pushd.apn]
|
||||||
sandbox = false
|
sandbox = false
|
||||||
queue = "notifications.outbound.apn"
|
queue = "notifications.outbound.apn"
|
||||||
@ -167,4 +166,4 @@ banners = 6_000_000
|
|||||||
emojis = 500_000
|
emojis = 500_000
|
||||||
|
|
||||||
[features.advanced]
|
[features.advanced]
|
||||||
process_message_delay_limit = 5
|
process_message_delay_limit = 5
|
17
compose.yml
17
compose.yml
@ -78,6 +78,8 @@ services:
|
|||||||
RABBITMQ_DEFAULT_PASS: rabbitpass
|
RABBITMQ_DEFAULT_PASS: rabbitpass
|
||||||
volumes:
|
volumes:
|
||||||
- rabbit:/var/lib/rabbitmq
|
- rabbit:/var/lib/rabbitmq
|
||||||
|
secrets:
|
||||||
|
- rabbit_password
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: rabbitmq-diagnostics -q ping
|
test: rabbitmq-diagnostics -q ping
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@ -264,11 +266,20 @@ services:
|
|||||||
image: docker.io/minio/mc
|
image: docker.io/minio/mc
|
||||||
depends_on:
|
depends_on:
|
||||||
- minio
|
- minio
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
max_attempts: 5
|
||||||
entrypoint: >
|
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;
|
/usr/bin/mc config host add minio http://minio:9000 minioautumn minioautumn;
|
||||||
echo 'Waiting minio...' && sleep 1;
|
/usr/bin/mc mb minio/revolt-uploads;
|
||||||
done; /usr/bin/mc mb minio/revolt-uploads; exit 0; "
|
echo 'Successfully created bucket';
|
||||||
|
exit 0;
|
||||||
|
else
|
||||||
|
echo 'Minio not ready, will retry on next container restart';
|
||||||
|
exit 1;
|
||||||
|
fi "
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user