Skip to content

Commit fc04fb5

Browse files
author
Peter Samoilov
committed
Updated templates and dependencies
1 parent 6a7cb2e commit fc04fb5

File tree

10 files changed

+3166
-1603
lines changed

10 files changed

+3166
-1603
lines changed

pystacker-backend/templates/m2_venia/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ x-stacker:
2121
meta:
2222
label: Magento 2 Venia concept theme
2323
icon: fab fa-js
24+
deprecated: 1
2425
description: |
2526
Magento 2 PWA theme frontend
2627
vars:

pystacker-backend/templates/magento2_ce/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ x-stacker:
6060
meta:
6161
label: Magento 2 CE
6262
icon: fab fa-magento
63-
deprecated: 1a
63+
deprecated: 1
6464
description: |
6565
Magento 2 community edition. Bundled with SSH gate to mount files and
6666
webmail, catching all outgoing email

pystacker-backend/templates/magento2_ce_fpm_dev_es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ x-stacker:
9494
meta:
9595
label: Magento 2 CE (development) FPM + Elasticsearch
9696
icon: fab fa-magento
97+
deprecated: 1
9798
description: |
9899
Magento 2 community edition. Bundled with SSH gate to mount files, phpadmin and
99100
webmail, catching all outgoing email. XDebug images available. Elasticsearch 2 and 5 inside.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
version: '3.7'
2+
services:
3+
web:
4+
image: aheadworks/m2dev-ce:${IMAGE_TAG}
5+
ports:
6+
- "${WEB_PORT}:80"
7+
- "${SSH_PORT}:22"
8+
volumes:
9+
- data-files:/var/www/html
10+
environment:
11+
- MAIL_HOST=mail
12+
- MAGENTO_URL=http://${MAGENTO_URL}:${WEB_PORT}
13+
- MAGENTO_TIMEZONE=Pacific/Auckland
14+
- MAGENTO_DEFAULT_CURRENCY=USD
15+
- MAGENTO_ADMIN_FIRSTNAME=Admin
16+
- MAGENTO_ADMIN_LASTNAME=MyStore
17+
18+
- MAGENTO_ADMIN_USERNAME=${MAGENTO_ADMIN_USERNAME:-master}
19+
- MAGENTO_ADMIN_PASSWORD=${MAGENTO_ADMIN_PASSWORD:-master123}
20+
- MAGENTO_ROOT=/var/www/html
21+
- MAGENTO_LANGUAGE=en_GB
22+
- MYSQL_HOST=db
23+
- MYSQL_ROOT_PASSWORD=myrootpassword
24+
- MYSQL_USER=magento
25+
- MYSQL_PASSWORD=magento
26+
- MYSQL_DATABASE=magento
27+
- MYSQL_PREFIX=${MYSQL_PREFIX}
28+
- AUTO_SETUP=1
29+
- COMPOSER_AUTH=${COMPOSER_AUTH}
30+
- SSH_PASSWORD=${SSH_PASSWORD}
31+
db:
32+
image: mysql:5.6.42
33+
volumes:
34+
- data-db:/var/lib/mysql
35+
environment:
36+
- MYSQL_ROOT_PASSWORD=myrootpassword
37+
- MYSQL_USER=magento
38+
- MYSQL_PASSWORD=magento
39+
- MYSQL_DATABASE=magento
40+
mail:
41+
image: mailhog/mailhog
42+
user: root
43+
command: ["-smtp-bind-addr", "0.0.0.0:25", "-ui-bind-addr", "0.0.0.0:80", "-api-bind-addr", "0.0.0.0:80"]
44+
ports:
45+
- "${MAIL_PORT}:80"
46+
myadmin:
47+
image: phpmyadmin/phpmyadmin
48+
environment:
49+
- MYSQL_ROOT_PASSWORD=myrootpassword
50+
- MYSQL_USER=magento
51+
- MYSQL_PASSWORD=magento
52+
- MYSQL_DATABASE=magento
53+
- PMA_USER=magento
54+
- PMA_PASSWORD=magento
55+
ports:
56+
- "${MYADMIN_PORT}:80"
57+
elasticsearch6:
58+
environment:
59+
- discovery.type=single-node
60+
- xpack.security.enabled=false
61+
image: elasticsearch:6.8.2
62+
ports:
63+
- "${ES6_PORT}:9200"
64+
volumes:
65+
- elasticsearch6-data:/usr/share/elasticsearch/data
66+
volumes:
67+
data-files:
68+
data-db:
69+
elasticsearch6-data:
70+
71+
x-stacker:
72+
links:
73+
web:
74+
- url: http://${MAGENTO_URL}:${WEB_PORT}
75+
name: Frontend
76+
- url: http://${MAGENTO_URL}:${WEB_PORT}/admin
77+
name: Backend
78+
- url: ssh://root@${MAGENTO_URL}:${SSH_PORT}
79+
name: SSH
80+
mail:
81+
- url: http://${MAGENTO_URL}:${MAIL_PORT}
82+
name: Web mail
83+
myadmin:
84+
- url: http://${MAGENTO_URL}:${MYADMIN_PORT}
85+
name: MyAdmin
86+
meta:
87+
label: Magento 2 CE (development) FPM + Elasticsearch 6
88+
icon: fab fa-magento
89+
description: |
90+
Magento 2 community edition. Bundled with SSH gate to mount files, phpadmin and
91+
webmail, catching all outgoing email. XDebug images available. Elasticsearch 6 inside.
92+
vars:
93+
IMAGE_TAG:
94+
required: 1
95+
label: Magento version
96+
source: com.source.dockerhub.tags_for_repo(aheadworks, m2dev-ce)
97+
type: select
98+
MAGENTO_URL:
99+
type: system
100+
label: Magento URL
101+
source: com.source.host_name
102+
MAGENTO_ADMIN_USERNAME:
103+
default: master
104+
required: 1
105+
label: Magento admin username
106+
MAGENTO_ADMIN_PASSWORD:
107+
default: master123
108+
required: 1
109+
label: Magento admin password
110+
MYSQL_PREFIX:
111+
label: DB tables prefix
112+
SSH_PASSWORD:
113+
default: root
114+
required: 1
115+
label: SSH password(root)
116+
COMPOSER_AUTH:
117+
type: textarea
118+
label: Composer's auth.json
119+
filters:
120+
- com.json.compact
121+
WEB_PORT:
122+
type: system
123+
filters:
124+
- com.registry.portmap(80)
125+
SSH_PORT:
126+
type: system
127+
filters:
128+
- com.registry.portmap(22)
129+
MAIL_PORT:
130+
type: system
131+
filters:
132+
- com.registry.portmap(88)
133+
MYADMIN_PORT:
134+
type: system
135+
filters:
136+
- com.registry.portmap(70)
137+
ES6_PORT:
138+
type: system
139+
filters:
140+
- com.registry.portmap(96)
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
version: '3.7'
2+
services:
3+
web:
4+
image: aheadworks/m2dev-ce:${IMAGE_TAG}
5+
ports:
6+
- "${WEB_PORT}:80"
7+
- "${SSH_PORT}:22"
8+
volumes:
9+
- data-files:/var/www/html
10+
environment:
11+
- MAIL_HOST=mail
12+
- MAGENTO_URL=http://${MAGENTO_URL}:${WEB_PORT}
13+
- MAGENTO_TIMEZONE=Pacific/Auckland
14+
- MAGENTO_DEFAULT_CURRENCY=USD
15+
- MAGENTO_ADMIN_FIRSTNAME=Admin
16+
- MAGENTO_ADMIN_LASTNAME=MyStore
17+
18+
- MAGENTO_ADMIN_USERNAME=${MAGENTO_ADMIN_USERNAME:-master}
19+
- MAGENTO_ADMIN_PASSWORD=${MAGENTO_ADMIN_PASSWORD:-master123}
20+
- MAGENTO_ROOT=/var/www/html
21+
- MAGENTO_LANGUAGE=en_GB
22+
- MYSQL_HOST=db
23+
- MYSQL_ROOT_PASSWORD=myrootpassword
24+
- MYSQL_USER=magento
25+
- MYSQL_PASSWORD=magento
26+
- MYSQL_DATABASE=magento
27+
- MYSQL_PREFIX=${MYSQL_PREFIX}
28+
- AUTO_SETUP=1
29+
- COMPOSER_AUTH=${COMPOSER_AUTH}
30+
- SSH_PASSWORD=${SSH_PASSWORD}
31+
db:
32+
image: mysql:5.6.42
33+
volumes:
34+
- data-db:/var/lib/mysql
35+
environment:
36+
- MYSQL_ROOT_PASSWORD=myrootpassword
37+
- MYSQL_USER=magento
38+
- MYSQL_PASSWORD=magento
39+
- MYSQL_DATABASE=magento
40+
mail:
41+
image: mailhog/mailhog
42+
user: root
43+
command: ["-smtp-bind-addr", "0.0.0.0:25", "-ui-bind-addr", "0.0.0.0:80", "-api-bind-addr", "0.0.0.0:80"]
44+
ports:
45+
- "${MAIL_PORT}:80"
46+
myadmin:
47+
image: phpmyadmin/phpmyadmin
48+
environment:
49+
- MYSQL_ROOT_PASSWORD=myrootpassword
50+
- MYSQL_USER=magento
51+
- MYSQL_PASSWORD=magento
52+
- MYSQL_DATABASE=magento
53+
- PMA_USER=magento
54+
- PMA_PASSWORD=magento
55+
ports:
56+
- "${MYADMIN_PORT}:80"
57+
elasticsearch7:
58+
environment:
59+
- discovery.type=single-node
60+
- xpack.security.enabled=false
61+
image: elasticsearch:7.3.0
62+
ports:
63+
- "${ES7_PORT}:9200"
64+
volumes:
65+
- elasticsearch7-data:/usr/share/elasticsearch/data
66+
volumes:
67+
data-files:
68+
data-db:
69+
elasticsearch7-data:
70+
71+
x-stacker:
72+
links:
73+
web:
74+
- url: http://${MAGENTO_URL}:${WEB_PORT}
75+
name: Frontend
76+
- url: http://${MAGENTO_URL}:${WEB_PORT}/admin
77+
name: Backend
78+
- url: ssh://root@${MAGENTO_URL}:${SSH_PORT}
79+
name: SSH
80+
mail:
81+
- url: http://${MAGENTO_URL}:${MAIL_PORT}
82+
name: Web mail
83+
myadmin:
84+
- url: http://${MAGENTO_URL}:${MYADMIN_PORT}
85+
name: MyAdmin
86+
meta:
87+
label: Magento 2 CE (development) FPM + Elasticsearch 7
88+
icon: fab fa-magento
89+
description: |
90+
Magento 2 community edition. Bundled with SSH gate to mount files, phpadmin and
91+
webmail, catching all outgoing email. XDebug images available. Elasticsearch 7 inside.
92+
vars:
93+
IMAGE_TAG:
94+
required: 1
95+
label: Magento version
96+
source: com.source.dockerhub.tags_for_repo(aheadworks, m2dev-ce)
97+
type: select
98+
MAGENTO_URL:
99+
type: system
100+
label: Magento URL
101+
source: com.source.host_name
102+
MAGENTO_ADMIN_USERNAME:
103+
default: master
104+
required: 1
105+
label: Magento admin username
106+
MAGENTO_ADMIN_PASSWORD:
107+
default: master123
108+
required: 1
109+
label: Magento admin password
110+
MYSQL_PREFIX:
111+
label: DB tables prefix
112+
SSH_PASSWORD:
113+
default: root
114+
required: 1
115+
label: SSH password(root)
116+
COMPOSER_AUTH:
117+
type: textarea
118+
label: Composer's auth.json
119+
filters:
120+
- com.json.compact
121+
WEB_PORT:
122+
type: system
123+
filters:
124+
- com.registry.portmap(80)
125+
SSH_PORT:
126+
type: system
127+
filters:
128+
- com.registry.portmap(22)
129+
MAIL_PORT:
130+
type: system
131+
filters:
132+
- com.registry.portmap(88)
133+
MYADMIN_PORT:
134+
type: system
135+
filters:
136+
- com.registry.portmap(70)
137+
ES7_PORT:
138+
type: system
139+
filters:
140+
- com.registry.portmap(97)

pystacker-backend/templates/magento2_ee_fpm_dev_es/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ x-stacker:
9393
name: MyAdmin
9494
meta:
9595
label: Magento 2 EE (development) FPM + Elasticsearch
96+
deprecated: 1
9697
icon: fab fa-magento
9798
description: |
98-
Magento 2 community edition. Bundled with SSH gate to mount files, phpadmin and
99+
Magento 2 enterprise edition. Bundled with SSH gate to mount files, phpadmin and
99100
webmail, catching all outgoing email. XDebug images available. Elasticsearch 2 and 5 inside.
100101
vars:
101102
IMAGE_TAG:

0 commit comments

Comments
 (0)