feat(compose): remove `expose` directive

This commit is contained in:
ItzCrazyKns 2024-05-07 19:39:59 +05:30
parent 321e60b993
commit e042ff491b
No known key found for this signature in database
GPG Key ID: 8162927C7CCE3065
1 changed files with 1 additions and 7 deletions

View File

@ -3,8 +3,6 @@ services:
build: build:
context: . context: .
dockerfile: searxng.dockerfile dockerfile: searxng.dockerfile
expose:
- 4000
ports: ports:
- 4000:8080 - 4000:8080
networks: networks:
@ -18,8 +16,6 @@ services:
- SEARXNG_API_URL=http://searxng:8080 - SEARXNG_API_URL=http://searxng:8080
depends_on: depends_on:
- searxng - searxng
expose:
- 3001
ports: ports:
- 3001:3001 - 3001:3001
networks: networks:
@ -34,8 +30,6 @@ services:
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001 - NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
depends_on: depends_on:
- perplexica-backend - perplexica-backend
expose:
- 3000
ports: ports:
- 3000:3000 - 3000:3000
networks: networks: