🔒 CORS configuration in docker-compose and Express
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user