Files
RASCSI/docker/docker-compose.ci.yml
Daniel Markstedt f31c56c1a4 remove obsolete Python code, move to Go client in containers
the three Go clients have now superseded the legacy Python clients,
so we now remove that code entirely, while rewriting the test
containers to use the Go web client instead
2026-08-03 07:52:21 +02:00

58 lines
1.2 KiB
YAML

services:
backend:
profiles:
- native-backend
image: ${GHCR_IMAGE}
build:
context: ..
dockerfile: docker/backend/Dockerfile
init: true
volumes:
- ./volumes/images:/home/pi/images:delegated
healthcheck:
interval: 5s
start_period: 5s
mock-backend:
build:
context: ..
dockerfile: docker/web/Dockerfile
entrypoint: ["/usr/local/bin/mock-piscsi"]
init: true
healthcheck:
disable: true
web:
build:
context: ..
dockerfile: docker/web/Dockerfile
args:
- OS_VERSION=bullseye
volumes:
- ./volumes/images:/home/pi/images:delegated
user: "${PISCSI_DOCKER_UID:-1000}:${PISCSI_DOCKER_GID:-1000}"
init: true
environment:
PISCSI_HOST: mock-backend
PISCSI_PORT: 6868
SERVER_PORT: 8080
BASE_DIR: /home/pi/images
SHARED_DIR: /home/pi/shared_files
CONFIG_DIR: /home/pi/.config/piscsi
healthcheck:
interval: 5s
start_period: 5s
depends_on:
mock-backend:
condition: service_started
go-test:
depends_on:
web:
condition: service_healthy
profiles:
- webui-tests
build:
context: ..
dockerfile: docker/go-test/Dockerfile