-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
47 lines (44 loc) · 1.5 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
version: '3.4'
services:
api:
build:
context: .docker/vue-storefront-api
dockerfile: docker/vue-storefront-api/Dockerfile
env_file: .docker/vue-storefront-api/docker/vue-storefront-api/default.env
environment:
VS_ENV: dev
ports:
- '8080:8080'
volumes:
- './.docker/api/config.json:/var/www/config/local.json'
- './packages/payment-klarna-bridge:/var/www/src/api/extensions/payment-klarna-bridge'
ui:
build:
context: .docker/vue-storefront
dockerfile: docker/vue-storefront/Dockerfile
network: host
env_file: .docker/vue-storefront/docker/vue-storefront/default.env
environment:
VS_ENV: dev
ports:
- '3000:3000'
volumes:
- './.docker/frontend/config.json:/var/www/config/local.json'
- './.docker/frontend/theme:/var/www/src/themes/default'
- './.docker/frontend/modules.ts:/var/www/src/modules/client.ts'
- './packages/payment-klarna:/var/www/src/modules/payment-klarna'
- './packages/payment-klarna-paypal:/var/www/src/modules/payment-klarna-paypal'
elasticsearch:
build: .docker/vue-storefront-api/docker/elasticsearch/
volumes:
- ./.docker/vue-storefront-api/docker/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
- esdat1:/usr/share/elasticsearch/data
ports:
- '9200:9200'
- '9300:9300'
environment:
ES_JAVA_OPTS: "-Xmx512m -Xms512m"
redis:
image: 'redis:4-alpine'
ports:
- '6379:6379'