view docker/docker-compose.yml @ 4194:3dbaf179c50d

core (launcher): new `wait_for_service` option: if `wait_for_service` is used in `[DEFAULT]`, the service at the specified host/port is waited for before starting the backend. This is useful in the situation where we need to be sure that something is started before running, e.g. in a container.
author Goffi <goffi@goffi.org>
date Wed, 13 Dec 2023 22:00:25 +0100
parents 0ffaa231138c
children
line wrap: on
line source

version: "3.6"
services:

  backend:
    image: "libervia/backend:${DOCKER_LIBERVIA_REV:-dev}"
    build:
      context: backend-dev
      args:
        REVISION: "${DOCKER_LIBERVIA_REV:-}"

  web:
    image: "libervia/web:${DOCKER_LIBERVIA_REV:-dev}"
    build:
      context: libervia-web-dev
      args:
        REVISION: "${DOCKER_LIBERVIA_REV:-}"
    depends_on:
      - backend