forked from Akanimoh12/Stellar-Tipz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (35 loc) · 819 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (35 loc) · 819 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
37
services:
contract:
build:
context: .
dockerfile: Dockerfile.contract
target: dev
volumes:
- ./contracts:/app
- contract-target:/app/target
environment:
- STELLAR_NETWORK=testnet
- SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
command: cargo watch -x test -x build
profiles:
- dev
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
target: dev
ports:
- "3000:3000"
volumes:
- ./frontend-scaffold/src:/app/src
- ./frontend-scaffold/public:/app/public
- /app/node_modules
environment:
- VITE_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
- VITE_STELLAR_NETWORK=testnet
depends_on:
- contract
profiles:
- dev
volumes:
contract-target: