services: donetick: image: donetick/donetick container_name: donetick-${IP}-${PORT} restart: unless-stopped ports: - ${IP}:${PORT}:2021 # needed for serving backend and frontend volumes: - ${DATA_DIR}/data:/donetick-data # database file stored (sqlite database) - ${DATA_DIR}/config:/config # configration file like selfhosted.yaml environment: - DT_ENV=selfhosted # this tell donetick to load ./config/selfhosted.yaml for the configuration file - DT_SQLITE_PATH=/donetick-data/donetick.db