-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
53 lines (49 loc) · 1.37 KB
/
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
47
48
49
50
51
52
53
version: "3.9"
services:
editor-web-app:
build: ./apps/editor/editor-web-app
image: maiara/editor-web-app
ports:
- "3080:80"
- "80:80"
restart: always
depends_on:
- editor-service
editor-service:
build:
context: ./
dockerfile: ./Dockerfile.editor-service
image: maiara/editor-service
network_mode: "host"
environment:
NODE_ENV: production
restart: always
depends_on:
- storage
- database
storage:
image: minio/minio:RELEASE.2022-04-16T04-26-02Z
ports:
- "9000:9000"
volumes:
- ~/.maiara/minio/data:/data
command: server /data
environment:
MINIO_ACCESS_KEY: vidsH98hjAKJ
MINIO_SECRET_KEY: jy0n0ASkjs623823jaJAKJSNJKD29239ihK
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://storage:9000/minio/health/live"]
interval: 1m30s
timeout: 20s
retries: 3
start_period: 3m
database:
image: mongo:5.0.7
ports:
- "27017:27017"
restart: always
environment:
MONGO_INITDB_DATABASE: maiara
# MONGO_INITDB_ROOT_USERNAME: root
# MONGO_INITDB_ROOT_PASSWORD: example