1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

add traccar

This commit is contained in:
kev 2022-06-07 18:48:19 +08:00
parent 640445a77b
commit 3a868e3f4b
3 changed files with 29 additions and 0 deletions

View File

@ -444,6 +444,7 @@ A collection of delicious docker recipes.
- [x] tensorflow - [x] tensorflow
- [x] serving - [x] serving
- [x] tile38/tile38 - [x] tile38/tile38
- [x] traccar/traccar
- [x] traefik - [x] traefik
- [x] trinodb/trino - [x] trinodb/trino
- [x] louislam/uptime-kuma - [x] louislam/uptime-kuma

15
traccar/README.md Normal file
View File

@ -0,0 +1,15 @@
traccar
=======
[Traccar][1] is a free and open source modern GPS tracking system.
```bash
$ mkdir -p data/{conf,data,logs}
$ cd data/conf
$ wget https://github.com/traccar/traccar/raw/master/setup/default.xml
$ wget https://github.com/traccar/traccar/raw/master/setup/traccar.xml
$ docker-compose up -d
```
[1]: https://www.traccar.org/

View File

@ -0,0 +1,13 @@
version: "3.8"
services:
traccar:
image: traccar/traccar:5-alpine
ports:
- "8082:8082"
- "5000-5150:5000-5150/tcp"
- "5000-5150:5000-5150/udp"
volumes:
- ./data/conf:/opt/traccar/conf
- ./data/data:/opt/traccar/data
- ./data/logs:/opt/traccar/logs
restart: unless-stopped