Init
This commit is contained in:
parent
81292da940
commit
dd7b94b085
2
homelab/jafner-tools/config/traccar/.env
Normal file
2
homelab/jafner-tools/config/traccar/.env
Normal file
@ -0,0 +1,2 @@
|
||||
DOCKER_DATA=/home/joey/data/traccar
|
||||
|
21
homelab/jafner-tools/config/traccar/docker-compose.yml
Normal file
21
homelab/jafner-tools/config/traccar/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
version: '3.1'
|
||||
services:
|
||||
traccar:
|
||||
image: traccar/traccar
|
||||
container_name: traccar_traccar
|
||||
restart: "no"
|
||||
ports:
|
||||
- 5000-5150:5000:5150/tcp
|
||||
- 5000-5150:5000:5150/udp
|
||||
volumes:
|
||||
- ${DOCKER_DATA}/logs:/opt/traccar/logs:rw
|
||||
- ./traccar.xml:/opt/traccar/conf/traccar.xml:ro
|
||||
labels:
|
||||
- traefik.http.routers.traccar.rule=Host(`traccar.jafner.net`)
|
||||
- traefik.http.routers.traccar.tls.certresolver=lets-encrypt
|
||||
- traefik.port=8082
|
||||
networks:
|
||||
- web
|
||||
networks:
|
||||
web:
|
||||
external: true
|
28
homelab/jafner-tools/config/traccar/traccar.xml
Normal file
28
homelab/jafner-tools/config/traccar/traccar.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
|
||||
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
|
||||
|
||||
<properties>
|
||||
|
||||
<entry key='config.default'>./conf/default.xml</entry>
|
||||
|
||||
<!--
|
||||
|
||||
This is the main configuration file. All your configuration parameters should be placed in this file.
|
||||
|
||||
Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
|
||||
with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
|
||||
remove "config.default" parameter from this file unless you know what you are doing.
|
||||
|
||||
For list of available parameters see following page: https://www.traccar.org/configuration-file/
|
||||
|
||||
-->
|
||||
|
||||
<entry key='database.driver'>org.h2.Driver</entry>
|
||||
<entry key='database.url'>jdbc:h2:./data/database</entry>
|
||||
<entry key='database.user'>Marina2939</entry>
|
||||
<entry key='database.password'>rQCz7nXo8kc3c2moceoMKArtJzP4FQsbFBoC8XNFamHRcEhx</entry>
|
||||
|
||||
|
||||
|
||||
</properties>
|
Loading…
Reference in New Issue
Block a user