-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 1.15 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
version: "3"
services:
api:
build:
context: ./docker/api
ports:
- "8082:8080"
volumes:
- ./openstore-api:/srv/openstore
- ./.data/clicks:/srv/openstore-data
- ./.data/icons:/srv/openstore-icons
- ./.data/screenshots:/srv/openstore-screenshots
environment:
- DATA_DIR=/srv/openstore-data
- ICON_DIR=/srv/openstore-icons
- IMAGE_DIR=/srv/openstore-screenshots
web:
image: node:20
command: npm run serve
working_dir: /srv/openstore
ports:
- "8081:8081"
volumes:
- ./openstore-web:/srv/openstore
mongo:
image: mongo:6
ports:
- "27017:27017"
volumes:
- ./.data/db:/data/db
- ./openstore-api:/srv/openstore
elasticsearch:
image: elasticsearch:7.10.1
ports:
- "9200:9200"
volumes:
- ./.data/elasticsearch:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
nginx:
image: nginx
ports:
- "80:80"
volumes:
- ./docker/proxy.conf:/etc/nginx/conf.d/default.conf
- ./.data/icons:/srv/openstore-icons
- ./.data/screenshots:/srv/openstore-screenshots