forked from JawherKl/netsjs-csv-check
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 960 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (39 loc) · 960 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
version: '3.8'
services:
app:
image: node:14
container_name: nestjs-csv-processor
working_dir: /usr/src/app
volumes:
- .:/usr/src/app
ports:
- '3000:3000'
environment:
- NODE_ENV=development
- DATABASE_URL=postgresql://user:password@db:5432/mydatabase
- MINIO_ENDPOINT=minio:9000
- MINIO_ACCESS_KEY=minio_access_key
- MINIO_SECRET_KEY=minio_secret_key
command: npm run start:dev
db:
image: postgres:13
container_name: postgres_db
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: mydatabase
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
minio:
image: minio/minio
container_name: minio_server
environment:
MINIO_ACCESS_KEY: minio_access_key
MINIO_SECRET_KEY: minio_secret_key
ports:
- '9000:9000'
command: server /data
volumes:
postgres_data: