kopia lustrzana https://github.com/RobertGawron/IonizationChamber
32 wiersze
1009 B
YAML
Executable File
32 wiersze
1009 B
YAML
Executable File
services:
|
|
ionizationchamber:
|
|
container_name: ionizationchamber
|
|
ulimits:
|
|
core: -1 # unlimited core dump size
|
|
build:
|
|
context: ./DevOps/Docker
|
|
image: chamber:latest
|
|
security_opt:
|
|
- seccomp:unconfined
|
|
privileged: true # required for USB access
|
|
working_dir: /workspace/build
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- ./Simulation:/workspace/Simulation
|
|
- ./Software:/workspace/Software
|
|
- ./CMakeLists.txt:/workspace/CMakeLists.txt
|
|
- ./DevOps/BuildArtifacts/:/workspace/DevOps/BuildArtifacts
|
|
- ./DevOps/Cmake/:/workspace/DevOps/Cmake/
|
|
- ./DevOps/Scripts/:/workspace/DevOps/Scripts/
|
|
# Add USB device access
|
|
- /dev/bus/usb:/dev/bus/usb # Mount entire USB bus
|
|
environment:
|
|
# Set ST-LINK specific environment variables
|
|
- STLINK_DEVICE=0483:3748
|
|
# Add healthcheck to verify USB connection
|
|
healthcheck:
|
|
test: lsusb | grep 0483:3748
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 3 |