version: '3'

services:
  database:
    # build: ./database-v2
    image: manticorum67/paper-dynasty-database:dev
    restart: unless-stopped
    container_name: dev_pd_database
    volumes:
      - ./storage:/usr/src/app/storage
      - ./logs:/usr/src/app/logs
    ports:
      - 813:80
    environment:
      - TESTING=True
      - LOG_LEVEL=INFO
      - API_TOKEN=${API_TOKEN}
      - TZ=America/Chicago
      - WORKERS_PER_CORE=1.0
      - PRIVATE_IN_SCHEMA=TRUE
