You've already forked rarus_1c_devops
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:
@@ -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}"
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user