mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 16:33:17 +00:00
b28da7001d
* 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>
43 lines
923 B
YAML
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"]
|