RASCSI/docker/docker-compose.ci.yml
Daniel Markstedt b28da7001d
Always assign locale in detect_locale() (#1163)
* Always assign locale in detect_locale()

* Bump version of Debian used in CI builds from from buster to bullseye

* Update code comment

---------

Co-authored-by: nucleogenic <nr@nucleogenic.com>
2023-05-16 12:19:40 -07:00

43 lines
923 B
YAML

services:
backend:
image: ${DOCKER_BACKEND_IMAGE}
build:
context: ..
dockerfile: docker/backend/Dockerfile
init: true
volumes:
- ./volumes/images:/home/pi/images:delegated
healthcheck:
interval: 5s
start_period: 5s
web:
build:
context: ..
dockerfile: docker/web/Dockerfile
args:
- OS_VERSION=bullseye
volumes:
- ./volumes/images:/home/pi/images:delegated
init: true
command: ["--backend-host=backend", "--log-level=debug"]
healthcheck:
interval: 5s
start_period: 5s
pytest:
depends_on:
web:
condition: service_healthy
backend:
condition: service_healthy
profiles:
- webui-tests
build:
context: ..
dockerfile: docker/pytest/Dockerfile
working_dir: /src
volumes:
- ./volumes/pytest:/src/tests/output:delegated
command: ["-vv"]