forked from adyen-examples/adyen-magento-plugin-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (44 loc) · 985 Bytes
/
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
version: '3'
services:
db:
image: mariadb:10.4
container_name: mariadb
environment:
MARIADB_ROOT_PASSWORD: root_password
MARIADB_DATABASE: magento
MARIADB_USER: magento
MARIADB_PASSWORD: magento
networks:
- backend
elastic:
image: elasticsearch:7.16.2
container_name: elasticsearch
ports:
- 9200:9200
- 9300:9300
environment:
- "discovery.type=single-node"
- ES_JAVA_OPTS=-Xms750m -Xmx750m
networks:
- backend
web:
image: ataberkylmz/magento2:2.4.4
container_name: magento2-container
environment:
DB_SERVER: mariadb
ELASTICSEARCH_SERVER: elasticsearch
MAGENTO_HOST: ${APP_URL}
VIRTUAL_HOST: ${APP_URL}
ADMIN_USERNAME: ${ADMIN_USERNAME}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
USE_SSL: 1
DEPLOY_SAMPLEDATA: 1
ports:
- 8080:80
depends_on:
- db
- elastic
networks:
backend:
networks:
backend: