forked from shuv8/cloudstorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 869 Bytes
/
docker-compose.yml
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
version: '3'
services:
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_storage:/data
environment:
MINIO_ROOT_USER: grigorev.mp
MINIO_ROOT_PASSWORD: 12341234
command: server --console-address ":9001" /data
postgres:
image: postgres:14.8-alpine3.18
environment:
POSTGRES_DB: "sud"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
ports:
- "5432:5432"
backend:
build:
context: ./areas/backend
dockerfile: Dockerfile
ports:
- "5000:5000"
depends_on:
- minio
- postgres
ui:
build:
context: ./areas/sud_frontend
dockerfile: Dockerfile
restart: always
expose:
- "3000"
ports:
- "3000:3000"
depends_on:
- backend
volumes:
minio_storage: {}