feat(traccar): Update to Traccar 6
This commit is contained in:
parent
f568db0ffb
commit
90afffb41c
4
build-context/mysql/Dockerfile
Normal file
4
build-context/mysql/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
ARG MYSQL_VERSION
|
||||
|
||||
FROM "mysql:${MYSQL_VERSION}"
|
||||
RUN mkdir -p /tmp/mysql
|
0
build-context/mysql/docker-data/.gitkeep
Normal file
0
build-context/mysql/docker-data/.gitkeep
Normal file
5
build-context/mysql/docker-data/config/db/my.cnf
Normal file
5
build-context/mysql/docker-data/config/db/my.cnf
Normal file
@ -0,0 +1,5 @@
|
||||
[mysqld]
|
||||
innodb_buffer_pool_size = 512M
|
||||
innodb_redo_log_capacity = 512M
|
||||
innodb_flush_method = O_DIRECT
|
||||
innodb_flush_log_at_trx_commit = 0
|
0
build-context/mysql/extras/.gitkeep
Normal file
0
build-context/mysql/extras/.gitkeep
Normal file
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
Loading…
x
Reference in New Issue
Block a user