Skip to content

Commit

Permalink
Merge pull request #2 from franklaercio/test-unit-integrate
Browse files Browse the repository at this point in the history
feat: updating docker compose
  • Loading branch information
franklaercio committed Feb 19, 2024
2 parents 3dee879 + ef19596 commit 42a5c0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ version: "3.5"

services:
api01: &api
# Lembre-se de que seu serviço HTTP deve estar hospedado num repositório
# publicamente acessível! Ex.: hub.docker.com
build:
context: .
image: franklaercio/rinha-de-backend-2024-q1:latest
hostname: api01
environment:
- DB_HOSTNAME=db
Expand All @@ -19,14 +16,17 @@ services:
deploy:
resources:
limits:
cpus: "0.35"
cpus: "0.30"
memory: "160MB"

api02:
<<: *api
hostname: api02
environment:
- DB_HOSTNAME=db
- POSTGRES_DB=rinha
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=123
ports:
- "8082:8080"

Expand Down

0 comments on commit 42a5c0c

Please sign in to comment.