forked from Ejirowebfi/Stellar-forge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 899 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 899 Bytes
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
version: '3.8'
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
ports:
- "5173:5173"
volumes:
# Mount source code for hot reloading
- ./frontend:/app
# Exclude node_modules to avoid conflicts
- /app/node_modules
environment:
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
stdin_open: true
tty: true
contract-builder:
build:
context: ./contracts
dockerfile: Dockerfile.dev
volumes:
# Mount contracts source for hot reloading
- ./contracts:/contracts
# Mount target directory to persist builds
- contracts_target:/contracts/target
working_dir: /contracts
stdin_open: true
tty: true
command: bash -c "echo 'Contract builder ready. Run: docker compose exec contract-builder bash' && tail -f /dev/null"
volumes:
contracts_target: