forked from Emmy123222/Stellar-GreenPay
-
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) · 846 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (35 loc) · 846 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
version: "3.9"
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_STELLAR_NETWORK=testnet
- NEXT_PUBLIC_HORIZON_URL=https://horizon-testnet.stellar.org
- NEXT_PUBLIC_API_URL=http://localhost:4000
volumes:
- ./frontend:/app
- /app/node_modules
- /app/.next
depends_on:
- backend
command: npm run dev
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "4000:4000"
environment:
- PORT=4000
- NODE_ENV=development
- STELLAR_NETWORK=testnet
- HORIZON_URL=https://horizon-testnet.stellar.org
- ALLOWED_ORIGINS=http://localhost:3000
volumes:
- ./backend:/app
- /app/node_modules
command: npm run dev