forked from LabsCrypt/remitlend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.staging.yml
More file actions
44 lines (39 loc) · 974 Bytes
/
Copy pathdocker-compose.staging.yml
File metadata and controls
44 lines (39 loc) · 974 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
version: "3.8"
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: remitlend
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
redis:
image: redis:alpine
restart: unless-stopped
backend:
image: ghcr.io/${OWNER}/remitlend-backend:${TAG:-staging-latest}
env_file:
- ./backend/.env.staging
environment:
- DATABASE_URL=postgres://postgres:postgres@db:5432/remitlend
- REDIS_URL=redis://redis:6379
ports:
- "3001:3001"
depends_on:
- db
- redis
restart: unless-stopped
frontend:
image: ghcr.io/${OWNER}/remitlend-frontend:${TAG:-staging-latest}
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_API_URL=http://localhost:3001
- API_URL=http://backend:3001
depends_on:
- backend
restart: unless-stopped
volumes:
postgres_data: