🚒 Trying out nginx for CORS mitigation

This commit is contained in:
2021-11-24 23:15:56 -08:00
parent 25d68edbc4
commit 95fe37e542
5 changed files with 42 additions and 50 deletions

View File

@@ -19,6 +19,7 @@ services:
depends_on:
- db
# - elasticsearch
- cors
- libraryqueue
- redis
- settings
@@ -169,6 +170,13 @@ services:
ports:
- "6379:6379"
cors:
image: shakyshane/nginx-cors
ports:
- 8050:80
environment:
- TARGET_DOMAIN=ghost
# elasticsearch:
# image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
# container_name: elasticsearch