Added FUNWHALE_URL setting to use in activity stream in representations
This commit is contained in:
parent
5c2ddc56c4
commit
93e4a4f123
|
@ -22,7 +22,7 @@ test_api:
|
||||||
variables:
|
variables:
|
||||||
DJANGO_ALLOWED_HOSTS: "localhost"
|
DJANGO_ALLOWED_HOSTS: "localhost"
|
||||||
DATABASE_URL: "postgresql://postgres@postgres/postgres"
|
DATABASE_URL: "postgresql://postgres@postgres/postgres"
|
||||||
|
FUNKWHALE_URL: "https://funkwhale.ci"
|
||||||
before_script:
|
before_script:
|
||||||
- cd api
|
- cd api
|
||||||
- pip install -r requirements/base.txt
|
- pip install -r requirements/base.txt
|
||||||
|
|
|
@ -25,7 +25,7 @@ except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS')
|
ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS')
|
||||||
|
FUNKWHALE_URL = env('FUNKWHALE_URL')
|
||||||
|
|
||||||
# APP CONFIGURATION
|
# APP CONFIGURATION
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
|
@ -12,5 +12,6 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- "DJANGO_ALLOWED_HOSTS=localhost"
|
- "DJANGO_ALLOWED_HOSTS=localhost"
|
||||||
- "DATABASE_URL=postgresql://postgres@postgres/postgres"
|
- "DATABASE_URL=postgresql://postgres@postgres/postgres"
|
||||||
|
- "FUNKWHALE_URL=https://funkwhale.test"
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# following variables:
|
# following variables:
|
||||||
# - DJANGO_SECRET_KEY
|
# - DJANGO_SECRET_KEY
|
||||||
# - DJANGO_ALLOWED_HOSTS
|
# - DJANGO_ALLOWED_HOSTS
|
||||||
|
# - FUNKWHALE_URL
|
||||||
|
|
||||||
# Additionaly, on non-docker setup, you'll also have to tweak/uncomment those
|
# Additionaly, on non-docker setup, you'll also have to tweak/uncomment those
|
||||||
# variables:
|
# variables:
|
||||||
|
@ -28,6 +29,9 @@ FUNKWHALE_VERSION=latest
|
||||||
FUNKWHALE_API_IP=127.0.0.1
|
FUNKWHALE_API_IP=127.0.0.1
|
||||||
FUNKWHALE_API_PORT=5000
|
FUNKWHALE_API_PORT=5000
|
||||||
|
|
||||||
|
# Replace this by the definitive, public domain you will use for
|
||||||
|
# your instance
|
||||||
|
FUNKWHALE_URL=https.//yourdomain.funwhale
|
||||||
|
|
||||||
# API/Django configuration
|
# API/Django configuration
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue