21 lines
948 B
Bash
21 lines
948 B
Bash
ADAPTER_1C_IMAGE=adapter-1c-rest:latest
|
|
ADAPTER_1C_CONTAINER_NAME=adapter-1c-rest
|
|
|
|
# Public REST port on docker.cin.su. Change it if 8011 is occupied, then use
|
|
# the same value in ONEC_ADAPTER_URL for MCP and the 1C agent.
|
|
ADAPTER_1C_HOST_PORT=8011
|
|
|
|
# Live SQL connections. Keep real credentials outside git.
|
|
# Example:
|
|
# ONEC_SQL_BASES_JSON={"upo_test":{"server":"sql-host","database":"upo_test","user":"configured_login","password_env":"ONEC_SQL_PASSWORD_UPO_TEST"}}
|
|
# ONEC_SQL_PASSWORD_UPO_TEST=put-this-only-in-a-real-non-committed-env-file
|
|
ONEC_SQL_BASES_JSON=
|
|
# Optional path inside the container to a JSON file with the same shape as ONEC_SQL_BASES_JSON.
|
|
ONEC_SQL_BASES_JSON_FILE=/data/onec-sql-bases.json
|
|
|
|
# Adapter-owned local SQLite state. Never point this at the 1C database.
|
|
ONEC_ADAPTER_STATE_DB=/data/adapter-cache.sqlite
|
|
ONEC_ADAPTER_JOB_PROCESS_ISOLATION=true
|
|
ONEC_ADAPTER_JOB_MEMORY_LIMIT_MB=0
|
|
ONEC_ADAPTER_JOB_CPU_LIMIT_SECONDS=0
|