version: "3.8"

services:
  terminusdb:
    image: terminusdb/terminusdb-server:latest
    container_name: terminusdb
    ports:
      - "6363:6363"
    environment:
      - TERMINUSDB_SERVER_NAME=terminusdb
      - TERMINUSDB_SERVER_PORT=6363
      - TERMINUSDB_ADMIN_PASS=optovia_admin_2024
      - TERMINUSDB_AUTOLOGIN_ENABLED=false
    volumes:
      - terminusdb_data:/app/terminusdb/storage
    restart: unless-stopped

volumes:
  terminusdb_data:
