add kontor-api-go REST API with Go, Fiber, Bun

This commit is contained in:
Thomas Peetz
2025-11-30 01:50:00 +01:00
parent 836a10e3ef
commit d63120b092
7 changed files with 201 additions and 0 deletions
+22
View File
@@ -57,6 +57,28 @@ services:
depends_on:
postgres:
condition: service_healthy
kontor-api-go:
build:
context: ./kontor-api-go
dockerfile: Dockerfile
tags:
- kontor-api-go:0.2.0-SNAPSHOT
image: kontor-api-go:0.2.0-SNAPSHOT
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://kontor-api-go:8900/health"]
interval: 10s
timeout: 5s
retries: 3
networks:
- database
- integration
- frontend
ports:
- 8900:8900
depends_on:
postgres:
condition: service_healthy
kontor-angular:
build:
context: ./kontor-angular