Server settings
Poe Server reads its settings from environment variables when it starts. All of them are optional.
Server
| Variable | Default | What it does |
|---|---|---|
POE_HOST |
127.0.0.1 | The address Poe Server listens on. The default means this machine only. |
PORT |
3001 | The port of Poe Server |
POE_HOME |
.poe in your user folder |
The data folder |
POE_KEY_STORE |
os | Where the data key lives: os for the key store of the system, file for a key file on a headless Linux server |
LOG_LEVEL |
info | trace, debug, info, warn or error |
POE_LOGIN_SETTINGS |
off | Set to 1 on your own Poe only. A Claude login can then load its own instructions and settings. Never on a node you share. |
Remote access
| Variable | Default | What it does |
|---|---|---|
POE_REMOTE |
off | Set to 1 to turn remote access on at start |
POE_REMOTE_HOST |
The private Wi-Fi or Ethernet address | The address devices connect to |
POE_REMOTE_PORT |
7874 | The remote access port |
POE_REMOTE_PUBLIC_URL |
none | The https address devices use through your own domain or a tunnel, without a path |
POE_REMOTE_CERT_FILE and POE_REMOTE_KEY_FILE |
A certificate Poe makes itself | Your own certificate and its key. Set both or neither. |
POE_REMOTE_TRUSTED_PROXY |
off | Set to 1 when a proxy or tunnel on the machine passes on the address of each client |
POE_PAIR_CONFIRM |
1 | Set to 0 to admit a device on the code alone, without Allow on the PC |
For POE_REMOTE_PUBLIC_URL use a host name that no other https service shares. The sign-in cookie of the phone goes to every service on that name.