1# Copy this file to .env and adjust as needed, then run: docker compose up -d
2
3# --- MySQL -------------------------------------------------------------
4MYSQL_ROOT_PASSWORD=znotex_root
5MYSQL_DATABASE=znotex
6MYSQL_USER=znotex
7MYSQL_PASSWORD=znotex
8
9# --- ZnoteX --------------------------------------------------------------
10ZNOTE_SITE_URL=http://localhost:8080
11ZNOTE_SITE_TITLE=ZnoteX
12# One of: TFS_10 (TFS 1.1-1.4.2), TFS_16 (TFS 1.6), CANARY (Canary/OTServBR-Global),
13# TFS_03 (TFS 0.3.6+/0.4/OTX), TFS_02 (TFS 0.2.13+), OTHIRE.
14# Picks which game database schema gets imported on first boot - only TFS_10 ships
15# with demo accounts/characters, the others get the correct empty schema.
16# Changing this after the first `docker compose up -d` has no effect; wipe the db
17# volume (docker compose down -v) to switch engines.
18ZNOTE_SERVER_ENGINE=TFS_10
19# Account name granted admin panel access - matches the TFS_10 demo data seed.
20ZNOTE_ADMIN_ACCOUNT=demo
21
22# --- Ports on your machine ------------------------------------------------
23ZNOTEX_HTTP_PORT=8080
24ZNOTEX_DB_PORT=3306
25ZNOTEX_PMA_PORT=8081
26ZNOTEX_MAILPIT_SMTP_PORT=1025
27ZNOTEX_MAILPIT_WEB_PORT=8025
28