Compare commits

...

2 Commits

Author SHA1 Message Date
Quentin Duchemin 8bc30123ff
Enable PROXY_MEDIA and bump Funkwhale 2023-05-24 18:49:08 +02:00
Quentin Duchemin 4a949ccd21
Fix CORS for CouchDB 2023-05-24 18:48:46 +02:00
3 changed files with 8 additions and 2 deletions

View File

@ -24,6 +24,12 @@ services:
labels: labels:
traefik.http.routers.couchdb.entrypoints: websecure traefik.http.routers.couchdb.entrypoints: websecure
traefik.http.routers.couchdb.rule: "Host(`{{ couchdb_subdomain }}.{{ domain_name }}`)" traefik.http.routers.couchdb.rule: "Host(`{{ couchdb_subdomain }}.{{ domain_name }}`)"
traefik.http.routers.couchdb.middlewares: cors@docker
traefik.http.services.couchdb.loadbalancer.server.port: 5984 traefik.http.services.couchdb.loadbalancer.server.port: 5984
traefik.http.middlewares.cors.headers.accessControlAllowOriginList: https://tempo.agate.blue
traefik.http.middlewares.cors.headers.accessControlAllowCredentials: true
# Cannot use wildcards with creds, see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers
traefik.http.middlewares.cors.headers.accessControlAllowHeaders: "Content-Type"
traefik.http.middlewares.cors.headers.accessControlAllowMethods: GET, OPTIONS, POST, PUT, DELETE
traefik.enable: true traefik.enable: true
restart: unless-stopped restart: unless-stopped

View File

@ -28,7 +28,7 @@ AWS_SECRET_ACCESS_KEY={{ scaleway_s3_key }}
AWS_STORAGE_BUCKET_NAME=celiglyphe AWS_STORAGE_BUCKET_NAME=celiglyphe
AWS_S3_ENDPOINT_URL=https://s3.fr-par.scw.cloud AWS_S3_ENDPOINT_URL=https://s3.fr-par.scw.cloud
AWS_S3_REGION_NAME=fr-par AWS_S3_REGION_NAME=fr-par
PROXY_MEDIA=false PROXY_MEDIA=true
THROTTLING_ENABLED=false THROTTLING_ENABLED=false
EXTERNAL_REQUESTS_TIMEOUT=30 EXTERNAL_REQUESTS_TIMEOUT=30

View File

@ -1,4 +1,4 @@
funkwhale_version: 1.2.3 funkwhale_version: 1.2.10
funkwhale_api_port: 5000 funkwhale_api_port: 5000
funkwhale_nginx_port: 80 funkwhale_nginx_port: 80
funkwhale_static_root: /static funkwhale_static_root: /static