-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (51 loc) · 1.25 KB
/
Copy pathdocker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.25 KB
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
45
46
47
48
49
50
51
52
53
54
55
version: '3'
services:
postgres:
image: postgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: siddhant
POSTGRES_DB: nextgenmanager
ports:
- "5432:5432"
extra_hosts:
- "host.docker.internal:host-gateway"
minio:
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
app:
build: .
depends_on:
- postgres
- minio
ports:
- "8080:8080"
environment:
DATASOURCE_URL: jdbc:postgresql://postgres:5432/nextgenmanager
DATASOURCE_USERNAME: postgres
DATASOURCE_PASSWORD: siddhant
JWT_SECRET: change-this-to-a-random-64-character-string-for-production!!
MINIO_URL: http://minio:9000
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
MINIO_BUCKET_NAME: nextgenmanager
FRONTEND_URL: http://localhost:3000
frontend:
build:
context: ../nextgenmanagerui
args:
REACT_APP_API_URL: ${API_URL:-http://localhost:8080/api}
depends_on:
- app
ports:
- "3000:80"
volumes:
minio_data: