aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 000000000..434f12de0
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,17 @@
+version: '3'
+
+services:
+ trackermap:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ # Configure memory limits here!
+ command: ["/usr/bin/java", "-Xms1g", "-Xms1g", "-Xss1m", "-jar", "tracker-server.jar", "-c", "conf/traccar.xml"]
+ ports:
+ - 8082:8082
+ - 5001-5211:5001-5211
+ volumes:
+ - ./conf:/opt/traccar/conf:ro
+ - ./data:/opt/traccar/data
+ - ./logs:/opt/traccar/logs
+ - ./media:/opt/traccar/media