-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 930 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 930 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
version: '3.8'
services:
postgres:
container_name: postgres-sql
image: postgres:15-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: maathru
ports:
- "5432:5432"
volumes:
- postgres:/var/lib/postgresql/data
backend:
environment:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_DATABASE: maathru
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: password
EMAIL_HOST: smtp.gmail.com
EMAIL_PORT: 587
EMAIL_ID: test@example.com
EMAIL_PASSWORD: testpassword
PORT: 8080
JWT_SECRET_KEY: qwertyuioplkjhgfdsazxcvbnmqwertyuioplkjhgfdsazxcvbnm
JWT_ACCESS_TOKEN_EXPIRATION: 86400000
JWT_REFRESH_TOKEN_EXPIRATION: 2592000000
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
depends_on:
- postgres
volumes:
postgres: