mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:47:07 +00:00
Take etc/config.yaml out of revision control.
This file contains site-specific configuration. Instead, an example config.yaml is now provided.
This commit is contained in:
65
etc/config.example.yaml
Normal file
65
etc/config.example.yaml
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
db:
|
||||
connection_string: "host=localhost port=5432 dbname=dougal user=postgres"
|
||||
|
||||
webhooks:
|
||||
alert:
|
||||
url: https://gitlab.com/wgp/dougal/software/alerts/notify.json
|
||||
authkey: ""
|
||||
# The authorisation key can be provided here or read from the
|
||||
# environment variable GITLAB_ALERTS_AUTHKEY. The environment
|
||||
# variable has precedence. It can be saved under the user's
|
||||
# Bash .profile. This is the recommended way to avoid accidentally
|
||||
# committing a security token into the git repository.
|
||||
|
||||
navigation:
|
||||
headers:
|
||||
-
|
||||
type: udp
|
||||
port: 30000
|
||||
meta:
|
||||
# Anything here gets passed as options to the packet
|
||||
# saving routine.
|
||||
epsg: 23031 # Assume this CRS for unqualified E/N data
|
||||
# Heuristics to apply to detect survey when offline
|
||||
offline_survey_heuristics: "nearest_preplot"
|
||||
# Apply the heuristics at most once every…
|
||||
offline_survey_detect_interval: 10000 # ms
|
||||
|
||||
|
||||
imports:
|
||||
# For a file to be imported, it must have been last modified at
|
||||
# least this many seconds ago.
|
||||
file_min_age: 60
|
||||
|
||||
# These paths refer to remote mounts which must be present in order
|
||||
# for imports to work. If any of these paths are empty, import actions
|
||||
# (including data deletion) will be inhibited. This is to cope with
|
||||
# things like transient network failures.
|
||||
mounts:
|
||||
- /srv/mnt/Data
|
||||
|
||||
# These paths can be exposed to end users via the API. They should
|
||||
# contain the locations were project data, or any other user data
|
||||
# that needs to be accessible by Dougal, is located.
|
||||
#
|
||||
# This key can be either a string or an object:
|
||||
# - If a string, it points to the root path for Dougal-accessible data.
|
||||
# - If an object, there is an implicit root and the first-level
|
||||
# paths are denoted by the keys, with the values being their
|
||||
# respective physical paths.
|
||||
# Non-absolute paths are relative to $DOUGAL_ROOT.
|
||||
paths: /srv/mnt/Data
|
||||
|
||||
queues:
|
||||
asaqc:
|
||||
request:
|
||||
url: "https://api.gateway.equinor.com/vt/v1/api/upload-file-encoded"
|
||||
args:
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
httpsAgent: # The paths here are relative to $DOUGAL_ROOT
|
||||
cert: etc/ssl/asaqc.crt
|
||||
key: etc/ssl/asaqc.key
|
||||
|
||||
Reference in New Issue
Block a user