aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 434f12de01ea5a369d07e3b2cf0fc730004ac376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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