mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-17 21:31:43 +01:00
fix cors app in docker-compose
This commit is contained in:
parent
9f79c622f7
commit
ba03536265
@ -4,8 +4,10 @@ volumes:
|
||||
data: {}
|
||||
|
||||
services:
|
||||
# cors:
|
||||
# image: ghcr.io/hzrd149/docker-cors-anywhere:latest
|
||||
cors:
|
||||
image: ghcr.io/hzrd149/docker-cors-anywhere:v0.4.4
|
||||
environment:
|
||||
CORSANYWHERE_REQUIRE_HEADER: ""
|
||||
imageproxy:
|
||||
image: ghcr.io/willnorris/imageproxy:v0.11.2
|
||||
relay:
|
||||
@ -17,11 +19,11 @@ services:
|
||||
image: ghcr.io/hzrd149/nostrudel:latest
|
||||
depends_on:
|
||||
- relay
|
||||
# - cors
|
||||
- cors
|
||||
- imageproxy
|
||||
environment:
|
||||
CACHE_RELAY: relay:8080
|
||||
IMAGE_PROXY: imageproxy:8080
|
||||
# CORS_PROXY: cors:8080
|
||||
CORS_PROXY: cors:8080
|
||||
ports:
|
||||
- 8080:80
|
||||
|
@ -50,6 +50,7 @@ server {
|
||||
listen 80;
|
||||
|
||||
server_name localhost;
|
||||
merge_slashes off;
|
||||
|
||||
$PROXY_PASS_BLOCK
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user