version: '3.8'

services:
  app:
    build: .
    ports:
      - "3000:3000"
    volumes:
      - counter_data:/app/data
    environment:
      - DB_PATH=/app/data/counter.db
      - PORT=3000
    restart: unless-stopped

volumes:
  counter_data:
