-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.example.yml
52 lines (42 loc) · 1.69 KB
/
docker-compose.example.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "2"
services:
koji:
image: ghcr.io/turtiesocks/koji:main
container_name: koji
restart: unless-stopped
environment:
# To escape special characters you must surround the values with single quotes ('')
# Commented out variables are optional
# Your Golbat or RDM database
SCANNER_DB_URL: "mysql://golbat_user:golbat_password@host:3306/golbat_database"
# Your Dragonite or RDM database (if you're using a hybrid Golbat/RDM setup)
CONTROLLER_DB_URL: 'mysql://dragonite_user:dragonite_password@host:3306/dragonite_database'
# Your Koji database
KOJI_DB_URL: "mysql://koji_user:[email protected]:3306/koji_database"
# Max Database connections
# MAX_CONNECTIONS: 100
# Your Koji API bearer token and client password
KOJI_SECRET: "your_super_secret"
# Start latitude on initial client load
# START_LAT: 0
# Start longitude on initial client load
# START_LON: 0
# Nominatim URl used for searching and importing geofences from OSM
# NOMINATIM_URL: 'https://nominatim.openstreetmap.org' # highly recommended using your own
# Logging level | error | warn | info | debug | trace
# LOG_LEVEL: info
# Memory limit for docker container
# mem_limit: 2048M
# Memory reservation for docker container
# mem_reservation: 256M
# CPU limit for docker container
# cpus: 2
ports:
- "8080:8080" # change left one for external port
# If you want to use a non docker database enable following lines and
# change the Database URL to 'host.docker.internal'
#extra_hosts:
# - "host.docker.internal:host-gateway"
networks:
default:
name: scanner