Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 9bfcbdc

Browse files
✨ (feat)(README.md): Improved Docker run command with eureka URL and KC_BASE_ISSUER_URL environment variable.
1 parent abab65c commit 9bfcbdc

1 file changed

Lines changed: 12 additions & 21 deletions

File tree

README.md

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ management:
100100
## 🔥 **Rotas Configuradas**
101101
Este gateway expõe e roteia as requisições para os seguintes serviços:
102102

103-
| Serviço | Método | Endpoint | Destino |
104-
|----------------|--------|---------------|---------|
105-
| **Autenticação** | `POST` | `/auth/**` | `lb://resqueue-user` |
106-
| **Usuários** | `GET` | `/users/**` | `lb://resqueue-user` |
107-
| **Clínicas** | `GET` | `/clinic/**` | `lb://resqueue-clinic` |
108-
| **Vacinas** | `GET` | `/vaccine/**` | `lb://resqueue-vaccine` |
109-
| **Swagger UI** | `GET` | `/docs` | Documentação via SpringDoc |
103+
| Serviço | Endpoint | Destino |
104+
|----------------|---------------|---------|
105+
| **Autenticação** | `/auth/**` | `lb://resqueue-user` |
106+
| **Usuários** | `/users/**` | `lb://resqueue-user` |
107+
| **Clínicas** | `/clinic/**` | `lb://resqueue-clinic` |
108+
| **Vacinas** | `/vaccine/**` | `lb://resqueue-vaccine` |
109+
| **Swagger UI** | `/docs` | Documentação via SpringDoc |
110110

111111
---
112112

@@ -116,18 +116,9 @@ Uma imagem Docker já está disponível no **Docker Hub**:
116116

117117
```sh
118118
docker pull rodrigobrocchi/resqueue-gateway:latest
119-
docker run -p 8080:8080 rodrigobrocchi/resqueue-gateway:latest
120-
```
121-
122-
Se quiser construir sua própria imagem Docker:
123-
```dockerfile
124-
FROM eclipse-temurin:21-jdk
125-
WORKDIR /app
126-
COPY target/resqueue-gateway.jar app.jar
127-
ENTRYPOINT ["java", "-jar", "app.jar"]
128-
```
129-
E execute:
130-
```sh
131-
docker build -t resqueue-gateway .
132-
docker run -p 8080:8080 resqueue-gateway
119+
docker run -p 8080:8080 \
120+
-e KC_BASE_ISSUER_URL=http://localhost:9000 \
121+
-e EUREKA_URL=http://localhost:8761/eureka \
122+
rodrigobrocchi/resqueue-gateway:latest
133123
```
124+
---

0 commit comments

Comments
 (0)