-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
38 lines (36 loc) · 1.18 KB
/
Copy pathdocker-compose.example.yml
File metadata and controls
38 lines (36 loc) · 1.18 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
# Example docker-compose.yml for headless deployment.
# Copy to docker-compose.yml and edit, or run directly:
# docker compose -f docker-compose.example.yml up -d
#
# For first-time setup (WebUI):
# docker compose up -d
# open http://localhost:3000
# Then once a profile exists, switch to detached mode:
# docker compose up -d
version: "3.9"
services:
girl-agent:
image: ghcr.io/thesashadev/girl-agent:latest
container_name: girl-agent
restart: unless-stopped
# WebUI by default. For pure logs with mounted bot.json, uncomment:
# command: ["server", "--config", "/config/bot.json", "--headless"]
environment:
GIRL_AGENT_DATA: /data
GIRL_AGENT_HOST: 0.0.0.0
# alternatively, drive everything from env vars (no /config/bot.json needed):
# GIRL_AGENT_MODE: bot
# GIRL_AGENT_TOKEN: ${TG_BOT_TOKEN}
# GIRL_AGENT_API_PRESET: claudehub
# GIRL_AGENT_API_KEY: ${LLM_API_KEY}
# GIRL_AGENT_NAME: Аня
# GIRL_AGENT_AGE: "22"
ports:
- "3000:3000"
volumes:
- girl-agent-data:/data
# - ./bot.json:/config/bot.json:ro
# to peek at logs:
# docker compose logs -f girl-agent
volumes:
girl-agent-data: