1
0
mirror of https://github.com/agibalovsa/-1C_DevOps.git synced 2025-10-08 23:22:16 +02:00

Выполнены задачи:

- Добавлен проброс usb для compose файла Hasp
Исправлены ошибки:
- Ошибка запуска ras в dockerfile 1C.
This commit is contained in:
Sergey Agibalov
2025-07-28 13:34:46 +03:00
parent c3c528d564
commit c08b267cad
2 changed files with 4 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ setup_init() {
setup_ragent_healthcheck() {
if [ ! -f "/healthcheck.sh" ]; then
echo "gosu usr1cv8 rac cluster list localhost:${RAS_PORT:-$DEFAULT_RAS_PORT}" > /healthcheck.sh
echo "gosu usr1cv8 rac cluster list localhost:${RAS_PORT:-1545}" > /healthcheck.sh
chmod 766 /healthcheck.sh
fi;
@@ -52,6 +52,7 @@ setup_ragent_defaults() {
setup_ragent_exec() {
RAGENT_EXEC="gosu usr1cv8 ragent"
RAGENT_EXEC+=" /port ${OC_RAGENT_PORT}"
RAGENT_EXEC+=" /regport ${OC_RMNGR_PORT}"
RAGENT_EXEC+=" /range ${OC_RPHOST_PORT}"
RAGENT_EXEC+=" /seclev ${OC_SECLEVEL}"

View File

@@ -12,6 +12,8 @@ services:
command: hasp
stdin_open: true
tty: true
devices:
- "${OC_HASP_DEVICE}:/dev/bus/usb/001/001"
environment:
TZ: ${TZ}
ports: