mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 16:33:17 +00:00
41bdcd4aed
* Update logging * Remove duplicate code * Update unit tests * Clean up includes * Merge ProtobufSerializer into protobuf_util namespace * Precompile regex * Add const * Add Split() convenience method, update log level/ID parsing * Move log.h to legacy folder * Elimininate gotos * Fixes for gcc 13 * Update compiler flags * Update default folder handling * Use references instead of pointers * Move code for better encapsulation * Move code * Remove unused method argument * Move device logger * Remove redundant to_string * Rename for consistency * Update handling of protobuf pointers * Simplify protobuf usage * Memory handling update * Add hasher
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
services:
|
|
backend:
|
|
container_name: piscsi_backend
|
|
image: piscsi-backend
|
|
pull_policy: never
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/backend/Dockerfile
|
|
volumes:
|
|
- ./volumes/images:/home/pi/images:delegated
|
|
- ./volumes/config:/home/pi/.config/piscsi:delegated
|
|
ports:
|
|
- "127.0.0.1:${BACKEND_PORT:-6868}:6868"
|
|
environment:
|
|
- BACKEND_PASSWORD=${BACKEND_PASSWORD:-}
|
|
init: true
|
|
command: [
|
|
"-L",
|
|
"${BACKEND_LOG_LEVEL:-trace}",
|
|
]
|
|
|
|
web:
|
|
container_name: piscsi_web
|
|
image: piscsi-web:${OS_VERSION:-bullseye}
|
|
pull_policy: never
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/web/Dockerfile
|
|
args:
|
|
- OS_VERSION=${OS_VERSION:-bullseye}
|
|
volumes:
|
|
- ./volumes/images:/home/pi/images:delegated
|
|
- ./volumes/config:/home/pi/.config/piscsi:delegated
|
|
ports:
|
|
- "127.0.0.1:${WEB_HTTP_PORT:-8080}:80"
|
|
- "127.0.0.1:${WEB_HTTPS_PORT:-8443}:443"
|
|
environment:
|
|
- BACKEND_PASSWORD=${BACKEND_PASSWORD:-}
|
|
init: true
|
|
command: [
|
|
"--backend-host=${BACKEND_HOST:-backend}",
|
|
"--backend-port=${BACKEND_PORT:-6868}",
|
|
"--log-level=${WEB_LOG_LEVEL:-debug}",
|
|
"--dev-mode"
|
|
]
|
|
|
|
pytest:
|
|
container_name: piscsi_pytest
|
|
image: piscsi-pytest
|
|
pull_policy: never
|
|
profiles:
|
|
- webui-tests
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/pytest/Dockerfile
|
|
working_dir: /src
|
|
command: ["-vv"]
|