-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.yaml.default
31 lines (27 loc) · 1.29 KB
/
config.yaml.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# How to connect to Mergin Maps server
mergin:
url: https://app.merginmaps.com
username: john
password: mysecret
# How to initialize the sync - one of the two options:
# - "gpkg" - use existing GeoPackage from given Mergin Maps project (and create database schema during init)
# - "db" - use existing database schema (and create GeoPackage in Mergin Maps project during init)
init_from: gpkg
connections:
- driver: postgres
# Parameters to PostgreSQL database
conn_info: "host=localhost dbname=mydb user=myuser password=mypassword"
# Database schema that will be synchronized with Mergin Maps project
# (it must exist if doing init from database, it must not exist if doing init from geopackage)
modified: myproject_data
# Extra database schema that will contain internal data and should never be edited
# (it must not exist before the sync starts - it will be created automatically)
base: myproject_data_base
# Mergin Maps project to use (<workspace>/<project>)
mergin_project: john/myproject
# Path to the GeoPackage within the Mergin Maps project above
# (it must exist if doing init from geopackage, it must not exist if doing init from database)
sync_file: data.gpkg
daemon:
# How often to synchronize (in seconds)
sleep_time: 10