aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
blob: 39bfd6e8cf10e4ef0cabe7cdcdc126a4d9dc3226 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: '3.3'

services:
  app:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: donetick-core
    restart: unless-stopped

    volumes:
    # sqlite database:
      - ./data:/usr/src/app/data

    ports:
      - "8085:8000"
    environment:
      - DT_ENV=prod
    hostname: donetick-core
    command: ["/donetick-core"]  # Command to execute your binary inside the container
networks:
  default: