🔒 CORS configuration in docker-compose and Express

This commit is contained in:
2021-10-18 12:11:30 -07:00
parent 8b3743fe6b
commit 2d1ccf7264
5 changed files with 14 additions and 21 deletions

View File

@@ -12,8 +12,6 @@ services:
- "8050:8050"
- "3050:3050"
- "8051:8051"
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- rabbitmq
- db
@@ -32,8 +30,6 @@ services:
container_name: comicvine-api
ports:
- "3080:3080"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
SERVICES: api
env_file: ./docker-env/comicvine-service.env
@@ -50,8 +46,6 @@ services:
network: host
image: frishi/comicvine-service
container_name: comicvine-service
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
SERVICES: comicvine
volumes:
@@ -66,8 +60,6 @@ services:
network: host
image: frishi/threetwo-import-service
container_name: threetwo-import-api
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "3000:3000"
environment:
@@ -88,8 +80,6 @@ services:
network: host
image: frishi/threetwo-import-service
container_name: import
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- db
- nats
@@ -108,8 +98,6 @@ services:
network: host
image: frishi/threetwo-import-service
container_name: image-transformation
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./userdata:/threetwo-import-service/userdata
- ./comics:/threetwo-import-service/comics
@@ -141,8 +129,6 @@ services:
nginx:
image: nginx
container_name: reverse-proxy
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "80:80"
volumes: