168 lines
3.6 KiB
YAML
168 lines
3.6 KiB
YAML
include:
|
|
- ./compose-postgres.yaml
|
|
|
|
services:
|
|
activemq:
|
|
image: apache/activemq-artemis:latest-alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
- 61616:61616
|
|
- 8161:8161
|
|
- 5672:5672
|
|
networks:
|
|
- integration
|
|
- frontend
|
|
volumes:
|
|
- activemq-data:/var/lib/artemis-instance
|
|
kontor:
|
|
build:
|
|
context: ./kontor-spring
|
|
dockerfile: Dockerfile
|
|
tags:
|
|
- kontor:0.2.0-SNAPSHOT
|
|
image: kontor:0.2.0-SNAPSHOT
|
|
restart: unless-stopped
|
|
networks:
|
|
- database
|
|
- integration
|
|
- frontend
|
|
ports:
|
|
- 8100:8100
|
|
volumes:
|
|
- images-data:/data/images
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
kontor-api:
|
|
build:
|
|
context: ./kontor-api
|
|
dockerfile: Dockerfile
|
|
tags:
|
|
- kontor-api:0.2.0-SNAPSHOT
|
|
image: kontor-api:0.2.0-SNAPSHOT
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://kontor-api:8500/health"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
networks:
|
|
- database
|
|
- integration
|
|
- frontend
|
|
ports:
|
|
- 8500:8500
|
|
volumes:
|
|
- images-data:/data/images
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
kontor-api-fiber:
|
|
build:
|
|
context: ./kontor-api-fiber
|
|
dockerfile: Dockerfile
|
|
tags:
|
|
- 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-fiber:8600/health"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
networks:
|
|
- database
|
|
- integration
|
|
- frontend
|
|
ports:
|
|
- 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
|
|
kontor-angular:
|
|
build:
|
|
context: ./kontor-angular
|
|
dockerfile: Dockerfile
|
|
tags:
|
|
- kontor-angular:0.2.0-SNAPSHOT
|
|
image: kontor-angular:0.2.0-SNAPSHOT
|
|
restart: unless-stopped
|
|
networks:
|
|
- database
|
|
- integration
|
|
- frontend
|
|
ports:
|
|
- 8200:80
|
|
depends_on:
|
|
kontor-api:
|
|
condition: service_healthy
|
|
kontor-vue:
|
|
build:
|
|
context: ./kontor-vue
|
|
dockerfile: Dockerfile
|
|
tags:
|
|
- kontor-vue:0.2.0-SNAPSHOT
|
|
image: kontor-vue:0.2.0-SNAPSHOT
|
|
restart: unless-stopped
|
|
networks:
|
|
- database
|
|
- integration
|
|
- frontend
|
|
ports:
|
|
- 8300:80
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
kontor-javalin:
|
|
build:
|
|
context: ./kontor-javalin
|
|
dockerfile: Dockerfile
|
|
tags:
|
|
- kontor-javalin:0.2.0-SNAPSHOT
|
|
image: kontor-javalin:0.2.0-SNAPSHOT
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://kontor-javalin:8400/health"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
networks:
|
|
- database
|
|
- integration
|
|
- frontend
|
|
ports:
|
|
- 8400:8400
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
|
|
networks:
|
|
integration:
|
|
name: integration
|
|
frontend:
|
|
volumes:
|
|
activemq-data:
|
|
images-data:
|