services:
  app:
    build: .
    container_name: ${PROJECT_NAME}-app
    restart: unless-stopped
    network_mode: bridge

    # DO NOT CHANGE - port is managed by gateway
    ports:
      - "172.17.0.1:${PORT}:8000"

    volumes:
      - ./data:/data
      - ./app:/app

    env_file: .env

    mem_limit: 512m
    cpus: 1.0
