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:8800/health"] interval: 10s timeout: 5s retries: 3 networks: - database - integration - frontend ports: - 8800:8800 volumes: - images-data:/data/images 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 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: