Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
ADDED: docker compose for full rising of the application
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Jan 16, 2024
1 parent 992e8dc commit 6cbe806
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
---
version: "2.1"
services:
book-a-book-buscador:
image: aleixmt/book-a-book-buscador:latest
ports:
- "0.0.0.0:8082:8081"
#restart: unless-stopped

book-a-book-operador:
image: aleixmt/book-a-book-operador:latest
ports:
- "0.0.0.0:8084:8083"
#restart: unless-stopped

book-a-book-eureka:
image: aleixmt/book-a-book-eureka:latest
ports:
- "0.0.0.0:8762:8761"
restart: unless-stopped


postgres_operador:
image: postgres
environment:
Expand All @@ -43,4 +33,25 @@ services:
- POSTGRES_DB=book-a-book-buscador
ports:
- "0.0.0.0:5433:5432"
restart: unless-stopped
restart: unless-stopped


book-a-book-buscador:
image: aleixmt/book-a-book-buscador:latest
ports:
- "0.0.0.0:8082:8081"
depends_on:
- book-a-book-eureka
- postgres_buscador
#restart: unless-stopped

book-a-book-operador:
image: aleixmt/book-a-book-operador:latest
ports:
- "0.0.0.0:8084:8083"
depends_on:
- book-a-book-eureka
- postgres_operador
#restart: unless-stopped


0 comments on commit 6cbe806

Please sign in to comment.