-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
83 lines (80 loc) · 3.23 KB
/
Copy pathdocker-compose.yml
File metadata and controls
83 lines (80 loc) · 3.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
services:
# ─────────────────────────────────────────────
# PicoOraClaw Agent (one-shot query)
# docker compose run --rm picooraclaw-agent -m "Hello"
# ─────────────────────────────────────────────
picooraclaw-agent:
build:
context: .
dockerfile: Dockerfile
container_name: picooraclaw-agent
profiles:
- agent
volumes:
- ./config/config.json:/root/.picooraclaw/config.json:ro
- picooraclaw-workspace:/root/.picooraclaw/workspace
environment:
- PICO_ORACLE_ENABLED=${PICO_ORACLE_ENABLED:-false}
- PICO_ORACLE_HOST=${PICO_ORACLE_HOST:-oracle-db}
- PICO_ORACLE_PASSWORD=${PICO_ORACLE_PASSWORD:-}
entrypoint: ["picooraclaw", "agent"]
stdin_open: true
tty: true
depends_on:
oracle-db:
condition: service_healthy
required: false
# ─────────────────────────────────────────────
# PicoOraClaw Gateway (Long-running Bot)
# docker compose up picooraclaw-gateway
# ─────────────────────────────────────────────
picooraclaw-gateway:
build:
context: .
dockerfile: Dockerfile
container_name: picooraclaw-gateway
restart: unless-stopped
profiles:
- gateway
volumes:
- ./config/config.json:/root/.picooraclaw/config.json:ro
- picooraclaw-workspace:/root/.picooraclaw/workspace
environment:
- PICO_ORACLE_ENABLED=${PICO_ORACLE_ENABLED:-false}
- PICO_ORACLE_HOST=${PICO_ORACLE_HOST:-oracle-db}
- PICO_ORACLE_PASSWORD=${PICO_ORACLE_PASSWORD:-}
command: ["gateway"]
depends_on:
oracle-db:
condition: service_healthy
required: false
# ─────────────────────────────────────────────
# Oracle AI Database 26ai Free (default backend)
# For managed cloud deployment, use the "Deploy to Oracle Cloud" button in README.
# docker compose --profile oracle up oracle-db
# ─────────────────────────────────────────────
oracle-db:
# Oracle AI Database 26ai Free — the default storage backend
# gvenzl/oracle-free requires no registry auth (unlike container-registry.oracle.com)
image: gvenzl/oracle-free:latest
container_name: picooraclaw-oracle
profiles:
- oracle
environment:
- ORACLE_PASSWORD=${PICO_ORACLE_PASSWORD:-OraclePass123}
- APP_USER=picooraclaw
- APP_USER_PASSWORD=${PICO_ORACLE_PASSWORD:-OraclePass123}
- ORACLE_CHARACTERSET=AL32UTF8
ports:
- "1521:1521"
volumes:
- oracle-data:/opt/oracle/oradata
healthcheck:
test: ["CMD-SHELL", "echo 'SELECT 1 FROM DUAL;' | sqlplus -s system/$${ORACLE_PASSWORD}@localhost:1521/FREEPDB1"]
interval: 30s
timeout: 10s
retries: 10
start_period: 120s
volumes:
picooraclaw-workspace:
oracle-data: