forked from steel-dev/steel-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (36 loc) · 885 Bytes
/
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
services:
api:
platform: linux/amd64
build:
context: ./api
dockerfile: Dockerfile
args:
NODE_VERSION: 22.13.0
ports:
- "3000:3000"
- "9223:9223"
volumes:
- ./.cache:/app/.cache
networks:
- steel-network
ui:
build:
context: ./ui
dockerfile: Dockerfile
args:
VITE_API_URL: ${VITE_API_URL:-http://api:3000}
VITE_WS_URL: ${VITE_WS_URL:-ws://api:3000}
VITE_OPENAPI_URL: ${VITE_OPENAPI_URL:-http://api:3000/documentation/json}
ports:
- "5173:5173"
environment:
- VITE_API_URL=${VITE_API_URL:-http://api:3000}
- VITE_WS_URL=${VITE_WS_URL:-ws://api:3000}
- VITE_OPENAPI_URL=${VITE_OPENAPI_URL:-http://api:3000/documentation/json}
depends_on:
- api
networks:
- steel-network
networks:
steel-network:
driver: bridge