forked from spryker/docker-shop-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
124 lines (117 loc) · 2.77 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: "2.0"
services:
app:
# restart: always
build:
context: ./
dockerfile: Dockerfile
args:
- GITHUB_TOKEN
depends_on:
- db
- elasticsearch
- redis
- rabbitmq
- jenkins
ports:
- "80:80"
- "443:443"
- "10001:10001"
- "222:222"
environment:
ENV_NAME: spryker21
DOMAIN_NAME: demoshop.local
CONFIGURATOR_DOMAIN_NAME: configurator.demoshop.local
STORES: 'DE,AT,US'
SINGLE_STORE: 'no'
APPLICATION_ENV: staging
POSTGRES_HOST: db
POSTGRES_PORT: 5432
POSTGRES_USER: spryker
POSTGRES_PASSWORD: secret
PGPASSWORD: secret
ELASTICSEARCH_HOST: elasticsearch
ELASTICSEARCH_PORT: 9200
REDIS_HOST: redis
REDIS_PORT: 6379
RABBITMQ_HOST: rabbitmq
RABBITMQ_PORT: 5672
RABBITMQ_API_PORT: 15672
RABBITMQ_USER: spryker
RABBITMQ_PASSWORD: secret
JENKINS_HOST: jenkins
JENKINS_PORT: 8080
NEWRELIC_KEY:
GITHUB_TOKEN: ""
GITHUB_SSH_KEY: ""
PHP_CLI_RAM: 2048
SMTP_HOST: mailhog
SMTP_PORT: 1025
SMTP_USER: ''
SMTP_PASS: ''
SMTP_TLS: 'no'
ZED_HTTPS_ON: 0
ZED_HTTP_TO_HTTPS: 0
YVES_HTTPS_ON: 0
YVES_HTTP_TO_HTTPS: 0
GLUE_HTTPS_ON: 0
GLUE_HTTP_TO_HTTPS: 0
CONFIGURATOR_HTTPS_ON: 0
CONFIGURATOR_HTTP_TO_HTTPS: 0
SPRYKER_SSL_ENABLE: 0
INITIAL_SPRYKER_REPOSITORY: 'https://github.com/spryker-shop/b2c-demo-shop.git'
INITIAL_SPRYKER_BRANCH: 'tags/202001.0'
volumes:
- versions-sync:/versions:rw
- static-sync:/static:rw
db:
# restart: always
image: postgres:9.6
environment:
# POSTGRES_DB consists of the ENV_NAME and the first STORE name
POSTGRES_DB: spryker21
POSTGRES_USER: spryker
POSTGRES_PASSWORD: secret
elasticsearch:
# restart: always
image: elasticsearch:6.8.11
environment:
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
redis:
# restart: always
image: redis:3.2
rabbitmq:
# restart: always
image: rabbitmq:3.7-management
environment:
RABBITMQ_DEFAULT_USER: spryker
RABBITMQ_DEFAULT_PASS: secret
RABBITMQ_DEFAULT_VHOST: /DE_staging_zed
ports:
- "15672:15672"
jenkins:
# restart: always
## build:
## context: .
## dockerfile: jenkins/Dockerfile
image:
spryker/docker-jenkins:5
environment:
JAVA_OPTS: '-Djenkins.install.runSetupWizard=false'
ZED_HOST: app
ports:
- "9090:8080"
volumes:
- jenkins-sync:/var/jenkins_home:rw
mailhog:
restart: always
image: mailhog/mailhog
ports:
- 8025:8025
volumes:
versions-sync:
external: true
static-sync:
external: true
jenkins-sync:
external: true