-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 999 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 999 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
38
39
40
41
42
43
44
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: pawnable
POSTGRES_PASSWORD: dlghwo1988!
POSTGRES_DB: pawnable
ports:
- "127.0.0.1:5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
backend:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "8085:8085"
environment:
DATABASE_URL: postgresql://pawnable:dlghwo1988!@db:5432/pawnable?schema=public
PORT: 8085
NODE_ENV: production
BASE_CHAIN_ID: 103
BASE_RPC_URL: https://seoul.worldland.foundation
LOAN_CONTRACT_ADDRESS: 0x603010Bba307831Fa3B7dD05974511850Bcdc1c7
depends_on:
- db
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
args:
NEXT_PUBLIC_API_URL: https://pawnable.site/api
ports:
- "3005:3005"
environment:
NEXT_PUBLIC_API_URL: https://pawnable.site/api
depends_on:
- backend
volumes:
postgres_data: