This repository was archived by the owner on Jan 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
66 lines (62 loc) · 1.68 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
66 lines (62 loc) · 1.68 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
services:
starknet-agent-backend:
container_name: starknet-agent-backend
build:
context: .
dockerfile: backend.dockerfile
deploy:
resources:
limits:
memory: 4G
ports:
- 3001:3001
volumes:
- backend-dbstore:/app/data
extra_hosts:
- host.docker.internal:host-gateway
networks:
- starknet-agent-network
environment:
- NODE_ENV=production
restart: unless-stopped
starknet-agent-frontend:
container_name: starknet-agent-frontend
build:
context: .
dockerfile: app.dockerfile
args:
- NEXT_PUBLIC_API_URL=https://backend.agent.starknet.id/api
- NEXT_PUBLIC_WS_URL=wss://backend.agent.starknet.id
- NEXT_PUBLIC_HOSTED_MODE=true
- NEXT_PUBLIC_POSTHOG_KEY=phc_su0YjldWHw0dnxnRJ6azGil52s11gvdEHHX2lA3kAv6
- NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
depends_on:
- starknet-agent-backend
ports:
- 3000:3000
networks:
- starknet-agent-network
environment:
- CHOKIDAR_USEPOLLING=true
restart: unless-stopped
nginx:
image: valian/docker-nginx-auto-ssl
restart: on-failure
ports:
- 80:80
- 443:443
volumes:
- ssl_data:/etc/resty-auto-ssl
environment:
ALLOWED_DOMAINS: (backend.)?agent.starknet.(id|io)
SITES: backend.agent.starknet.id=starknet-agent-backend:3001;agent.starknet.id=starknet-agent-frontend:3000;agent.starknet.io=starknet-agent-frontend:3000
networks:
- starknet-agent-network
depends_on:
- starknet-agent-backend
- starknet-agent-frontend
networks:
starknet-agent-network:
volumes:
backend-dbstore:
ssl_data: