Make RS auth work by default in dev with Docker Compose
This commit is contained in:
parent
3d8619532b
commit
15a9fdec3e
@ -21,7 +21,8 @@ LNDHUB_PUBLIC_KEY='024cd3be18617f39cf645851e3ba63f51fc13f0bb09e3bb25e6fd4de55648
|
|||||||
NOSTR_PRIVATE_KEY='7c3ef7e448505f0615137af38569d01807d3b05b5005d5ecf8aaafcd40323cea'
|
NOSTR_PRIVATE_KEY='7c3ef7e448505f0615137af38569d01807d3b05b5005d5ecf8aaafcd40323cea'
|
||||||
NOSTR_PUBLIC_KEY='bdd76ce2934b2f591f9fad2ebe9da18f20d2921de527494ba00eeaa0a0efadcf'
|
NOSTR_PUBLIC_KEY='bdd76ce2934b2f591f9fad2ebe9da18f20d2921de527494ba00eeaa0a0efadcf'
|
||||||
|
|
||||||
RS_STORAGE_URL='https://storage.kosmos.org'
|
|
||||||
RS_REDIS_URL='redis://localhost:6379/1'
|
RS_REDIS_URL='redis://localhost:6379/1'
|
||||||
|
RS_STORAGE_URL='https://storage.kosmos.org'
|
||||||
|
RS_AKKOUNTS_DOMAIN=localhost
|
||||||
|
|
||||||
WEBHOOKS_ALLOWED_IPS='10.1.1.23'
|
WEBHOOKS_ALLOWED_IPS='10.1.1.23'
|
||||||
|
@ -41,6 +41,7 @@ services:
|
|||||||
LAUNCHY_DRY_RUN: true
|
LAUNCHY_DRY_RUN: true
|
||||||
BROWSER: /dev/null
|
BROWSER: /dev/null
|
||||||
PRIMARY_DOMAIN: kosmos.org
|
PRIMARY_DOMAIN: kosmos.org
|
||||||
|
AKKOUNTS_DOMAIN: accounts.kosmos.org
|
||||||
LDAP_HOST: ldap
|
LDAP_HOST: ldap
|
||||||
LDAP_PORT: 3389
|
LDAP_PORT: 3389
|
||||||
LDAP_ADMIN_PASSWORD: passthebutter
|
LDAP_ADMIN_PASSWORD: passthebutter
|
||||||
@ -48,6 +49,7 @@ services:
|
|||||||
ACTIVE_STORAGE_PATH: /akkounts/tmp/attachments
|
ACTIVE_STORAGE_PATH: /akkounts/tmp/attachments
|
||||||
RS_REDIS_URL: redis://redis:6379/1
|
RS_REDIS_URL: redis://redis:6379/1
|
||||||
RS_STORAGE_URL: http://localhost:4567
|
RS_STORAGE_URL: http://localhost:4567
|
||||||
|
RS_AKKOUNTS_DOMAIN: localhost
|
||||||
S3_ENABLED: false
|
S3_ENABLED: false
|
||||||
NOSTR_PUBLIC_KEY: bdd76ce2934b2f591f9fad2ebe9da18f20d2921de527494ba00eeaa0a0efadcf
|
NOSTR_PUBLIC_KEY: bdd76ce2934b2f591f9fad2ebe9da18f20d2921de527494ba00eeaa0a0efadcf
|
||||||
NOSTR_PRIVATE_KEY: 7c3ef7e448505f0615137af38569d01807d3b05b5005d5ecf8aaafcd40323cea
|
NOSTR_PRIVATE_KEY: 7c3ef7e448505f0615137af38569d01807d3b05b5005d5ecf8aaafcd40323cea
|
||||||
|
@ -92,7 +92,7 @@ RSpec.describe "WebFinger", type: :request do
|
|||||||
expect(rs_link["href"]).to eql("#{Setting.rs_storage_url}/tony")
|
expect(rs_link["href"]).to eql("#{Setting.rs_storage_url}/tony")
|
||||||
|
|
||||||
oauth_url = rs_link["properties"]["http://tools.ietf.org/html/rfc6749#section-4.2"]
|
oauth_url = rs_link["properties"]["http://tools.ietf.org/html/rfc6749#section-4.2"]
|
||||||
expect(oauth_url).to eql("http://accounts.kosmos.org/rs/oauth/tony")
|
expect(oauth_url).to eql("http://localhost/rs/oauth/tony")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "returns CORS headers" do
|
it "returns CORS headers" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user