feat(traccar): Initial commit
This commit is contained in:
14
build-context/traccar/Dockerfile
Normal file
14
build-context/traccar/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
# For the remainder of this Dockerfile EXAMPLE_ARG_FOR_DOCKERFILE will be
|
||||
# available with a value of 'must_be_available_in_dockerfile', check out the env
|
||||
# file at 'env/fully.qualified.domain.name.example' for reference.
|
||||
# ARG EXAMPLE_ARG_FOR_DOCKERFILE
|
||||
|
||||
# Another env var, this one's needed in the example build step below:
|
||||
# ARG TRACCAR_VERSION
|
||||
|
||||
# Example
|
||||
# FROM "traccar:${TRACCAR_VERSION}"
|
||||
# RUN apt-get update && \
|
||||
# apt-get -y install \
|
||||
# somepackage-6.q16-6-extra && \
|
||||
# rm -rf /var/lib/apt/lists/*
|
0
build-context/traccar/docker-data/.gitkeep
Normal file
0
build-context/traccar/docker-data/.gitkeep
Normal file
26
build-context/traccar/docker-data/config/traccar.xml
Normal file
26
build-context/traccar/docker-data/config/traccar.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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'>com.mysql.cj.jdbc.Driver</entry>
|
||||
<entry key='database.url'>jdbc:mysql://mysql/traccar?zeroDateTimeBehavior=round&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
|
||||
<entry key='database.user'>traccar</entry>
|
||||
<entry key='database.password'>t0psecret</entry>
|
||||
|
||||
</properties>
|
0
build-context/traccar/docker-data/data/.gitkeep
Normal file
0
build-context/traccar/docker-data/data/.gitkeep
Normal file
0
build-context/traccar/extras/.gitkeep
Normal file
0
build-context/traccar/extras/.gitkeep
Normal file
Reference in New Issue
Block a user