Files
ecm_sync_system/tools/remote_env.example.yaml

44 lines
1.0 KiB
YAML

couchdb:
enabled: true
base_url: http://localhost:5984
url: http://127.0.0.1
port: "5984"
database: test_push_auto
username: admin
password: password123
recreate_after_delete: false
data:
data_dir: ${PROJECT_ROOT}/working_local_datasource/filtered
service:
ecm_root: /Users/zyl/my_projects/GroupSideProjectManagementSystem
python_path: /Users/zyl/my_projects/GroupSideProjectManagementSystem/.venv/bin/python
cwd: ${ECM_ROOT}
start_command:
- ${PYTHON}
- run.py
restore_command:
- ${PYTHON}
- run.py
- restore-database
- -d
- ${COUCHDB_DATABASE}
- -s
- ${DATA_DIR}
env: {}
ready_url: http://localhost:8000/docs
ready_timeout_seconds: 120
ready_interval_seconds: 2
log_file: ${PROJECT_ROOT}/runtime/remote_env/ecm_remote.log
env_file:
enabled: true
path: ${ECM_ROOT}/.env
restore_on_stop: true
overrides:
COUCHDB_DBNAME: ${COUCHDB_DATABASE}
COUCHDB_USER: ${COUCHDB_USERNAME}
COUCHDB_PASSWORD: ${COUCHDB_PASSWORD}
COUCHDB_URL: ${COUCHDB_URL}
COUCHDB_PORT: ${COUCHDB_PORT}