add project kontor-api-echo
This commit is contained in:
+30
-8
@@ -42,7 +42,7 @@ services:
|
||||
image: kontor-api:0.2.0-SNAPSHOT
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://kontor-api:8800/health"]
|
||||
test: ["CMD", "curl", "-f", "http://kontor-api:8500/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
@@ -51,22 +51,22 @@ services:
|
||||
- integration
|
||||
- frontend
|
||||
ports:
|
||||
- 8800:8800
|
||||
- 8500:8500
|
||||
volumes:
|
||||
- images-data:/data/images
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
kontor-api-go:
|
||||
kontor-api-fiber:
|
||||
build:
|
||||
context: ./kontor-api-go
|
||||
context: ./kontor-api-fiber
|
||||
dockerfile: Dockerfile
|
||||
tags:
|
||||
- kontor-api-go:0.2.0-SNAPSHOT
|
||||
image: kontor-api-go:0.2.0-SNAPSHOT
|
||||
- kontor-api-fiber:0.2.0-SNAPSHOT
|
||||
image: kontor-api-fiber:0.2.0-SNAPSHOT
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://kontor-api-go:8900/health"]
|
||||
test: ["CMD", "curl", "-f", "http://kontor-api-fiber:8600/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
@@ -75,7 +75,29 @@ services:
|
||||
- integration
|
||||
- frontend
|
||||
ports:
|
||||
- 8900:8900
|
||||
- 8600:8600
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
kontor-api-echo:
|
||||
build:
|
||||
context: ./kontor-api-echo
|
||||
dockerfile: Dockerfile
|
||||
tags:
|
||||
- kontor-api-echo:0.2.0-SNAPSHOT
|
||||
image: kontor-api-echo:0.2.0-SNAPSHOT
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://kontor-api-echo:8700/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
networks:
|
||||
- database
|
||||
- integration
|
||||
- frontend
|
||||
ports:
|
||||
- 8700:8700
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user