-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 2.23 KB
/
Copy path.env.example
File metadata and controls
50 lines (40 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# =============================================================================
# MagesticAI — root .env.example (for `docker compose`)
# =============================================================================
# Copy to `.env` next to docker-compose.yml and fill in values.
# This file is for the Docker/compose deployment ONLY.
# Backend runtime config lives in apps/backend/.env (see apps/backend/.env.example).
# Web-server runtime config lives in apps/web-server/.env (see apps/web-server/.env.example).
# =============================================================================
# -----------------------------------------------------------------------------
# REQUIRED — macvlan networking
# -----------------------------------------------------------------------------
# LAN IP to assign to this container (must be free on your LAN, outside DHCP range)
INSTANCE_IP=192.168.1.100
# Host's physical NIC name (find via `ip -br link`)
# Common: eth0, eno1, enp0s31f6, ens33
HOST_NIC=eth0
# Your LAN subnet (CIDR)
LAN_SUBNET=192.168.1.0/24
# Your LAN gateway IP (typically your router)
LAN_GATEWAY=192.168.1.1
# -----------------------------------------------------------------------------
# OPTIONAL — instance + storage
# -----------------------------------------------------------------------------
# Container name and persistent-data label (use unique values when running
# multiple instances side by side).
# INSTANCE_NAME=magesticai
# Host directory holding persistent data (one subdir per INSTANCE_NAME).
# Use an ABSOLUTE path if you run snap Docker (snap can't see $HOME).
# MAGESTIC_DATA_DIR=./data
# -----------------------------------------------------------------------------
# OPTIONAL — runtime overrides (forwarded into the container)
# -----------------------------------------------------------------------------
# Auto-generated on first run if unset
# APP_API_TOKEN=
# Set via the UI OAuth flow instead (preferred)
# CLAUDE_CODE_OAUTH_TOKEN=
# Extra CORS origins for the web-server (comma-separated or JSON list)
# APP_CORS_ORIGINS=https://my-host.example.com:3101,http://my-host.example.com:3100
# Extra hostnames the Vite dev server should accept (comma-separated)
# VITE_ALLOWED_HOSTS=my-host.example.com,staging.example.com