-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 816 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 816 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
services:
postgres:
image: ghcr.io/${GITHUB_USER}/nodeauth-postgres:latest
restart: always
ports:
- "5432:5432"
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
backend:
image: ghcr.io/${GITHUB_USER}/nodeauth-backend:latest
restart: always
ports:
- "6060:6060"
depends_on:
- postgres
environment:
- SERVER_PORT=6060
- CLIENT_URL=http://localhost:5173
- SESSION_SECRET=${SESSION_SECRET}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- DB_HOST=postgres
frontend:
image: ghcr.io/${GITHUB_USER}/nodeauth-frontend:latest
restart: always
ports:
- "5173:5173"