-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yml
More file actions
50 lines (50 loc) · 1.58 KB
/
Copy pathcompose.yml
File metadata and controls
50 lines (50 loc) · 1.58 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
services:
agent-platform:
image: agent-platform:${VERSION:-latest}
build:
context: .
dockerfile: Dockerfile
container_name: agent-platform
init: true
restart: unless-stopped
stop_grace_period: 10s
security_opt:
- no-new-privileges:true
ports:
- "${SERVER_PORT:-11949}:8080"
extra_hosts:
- "host.docker.internal:host-gateway"
env_file:
- .env
environment:
SERVER_PORT: 8080
AP_RUNTIME_DIR: /opt/runtime
AP_RUNTIME_REGISTRIES_DIR: /opt/runtime/registries
OWNER_DIR: /opt/runtime/owner
AGENTS_DIR: /opt/runtime/agents
TEAMS_DIR: /opt/runtime/teams
ROOT_DIR: /opt/runtime/root
AUTOMATIONS_DIR: /opt/runtime/automations
AP_RUNTIME_CHATS_DIR: /opt/runtime/chats
AP_RUNTIME_MEMORY_DIR: /opt/runtime/memory
AP_RUNTIME_PAN_DIR: /opt/runtime/pan
volumes:
- type: bind
source: ./configs
target: /opt/configs
read_only: true
- type: bind
source: ${AP_RUNTIME_DIR:-./runtime}
target: /opt/runtime
- type: bind
source: ${AP_RUNTIME_REGISTRIES_DIR:-${AP_RUNTIME_DIR:-./runtime}/registries}
target: /opt/runtime/registries
- type: bind
source: ${AP_RUNTIME_CHATS_DIR:-${AP_RUNTIME_DIR:-./runtime}/chats}
target: /opt/runtime/chats
- type: bind
source: ${AP_RUNTIME_MEMORY_DIR:-${AP_RUNTIME_DIR:-./runtime}/memory}
target: /opt/runtime/memory
- type: bind
source: ${AP_RUNTIME_PAN_DIR:-${AP_RUNTIME_DIR:-./runtime}/pan}
target: /opt/runtime/pan