-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
52 lines (50 loc) · 993 Bytes
/
docker-compose.yaml
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
services:
app:
container_name: ncloud-api
hostname: ncloud-api
restart: on-failure
build:
context: .
dockerfile: Dockerfile
ports:
- 80:80
- 443:443
- 8080:8080
env_file:
- .env
volumes:
- /var/ncloud_upload:/var/ncloud_upload
mongodb:
image: mongo
container_name: mongodb-ncloud-api
ports:
- "27017:27017"
volumes:
- data:/data
env_file:
- .env
mongo-express:
image: mongo-express
container_name: mongo-express-ncloud-api
restart: always
ports:
- "8081:8081"
environment:
- ME_CONFIG_MONGODB_SERVER=mongodb
env_file:
- .env
meilisearch:
image: "getmeili/meilisearch"
restart: unless-stopped
ports:
- "7700:7700"
volumes:
- /var/local/meilisearch:/data.ms
env_file:
- .env
container_name: meili-ncloud-api
volumes:
data: { }
networks:
default:
name: mongodb_network