forked from agentlabs-dev/openator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 1.14 KB
/
docker-compose.yml
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
services:
# We replaced playwright-server with hyperbrowser
# This makes it easier to run the app on a local machine
# but also in a cloud environment.
#
# You can still integrate the playwright-server with a VNC player frontendside.
# But this is painfull :)
#
# playwright:
# build:
# context: ./playwright-server
# dockerfile: Dockerfile.dev
# ports:
# - "5900:5900" # VNC port for remote display
# - "6080:6080" # noVNC Web UI
# - "9222:9222" # WebSocket endpoint for Playwright
# hostname: playwright
# environment:
# - DISPLAY=:99
backend:
# Uncomment this if you want to use playwright-server
#
# depends_on:
# - playwright
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "3000:3000"
hostname: backend
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- PLAYWRIGHT_WS_ENDPOINT=ws://playwright:9222/ws-endpoint
- HYPERBROWSER_API_KEY=${HYPERBROWSER_API_KEY}
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3001:3000"
hostname: frontend