-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
59 lines (59 loc) · 1.79 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
services:
mariadb:
image: docker.io/bitnami/mariadb:10.4
platform: linux/amd64
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_magento
- MARIADB_DATABASE=bitnami_magento
volumes:
- 'rvvup_magento_data_mariadb:/bitnami/mariadb'
magento:
ports:
- '80:8080'
- '443:8443'
environment:
- BITNAMI_DEBUG=true
- MAGENTO_DATABASE_HOST=mariadb
- MAGENTO_DATABASE_PORT_NUMBER=3306
- MAGENTO_DATABASE_USER=bn_magento
- MAGENTO_DATABASE_NAME=bitnami_magento
- ELASTICSEARCH_HOST=elasticsearch
- ELASTICSEARCH_PORT_NUMBER=9200
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- MAGENTO_USERNAME=admin
- MAGENTO_PASSWORD=password1
- MAGENTO_HOST=local.dev.rvvuptech.com
- RVVUP_API_KEY=$RVVUP_API_KEY
- RVVUP_PLUGIN_VERSION=$RVVUP_PLUGIN_VERSION
- FIRECHECKOUT_KEY=$FIRECHECKOUT_KEY
- FIRECHECKOUT_VERSION=$FIRECHECKOUT_VERSION
- MAGENTO_REPO_PUBLIC_KEY=$MAGENTO_REPO_PUBLIC_KEY
- MAGENTO_REPO_PRIVATE_KEY=$MAGENTO_REPO_PRIVATE_KEY
- MAGENTO_SMTP_HOST=mailpit
- MAGENTO_SMTP_PORT=1025
build:
context: .
dockerfile: Dockerfile
args:
MAGENTO_VERSION: $MAGENTO_VERSION
depends_on:
- mariadb
- elasticsearch
- mailpit
elasticsearch:
image: docker.io/bitnami/elasticsearch:7
volumes:
- 'rvvup_magento_elasticsearch_data:/bitnami/elasticsearch/data'
mailpit:
image: docker.io/axllent/mailpit:v1.21
ports:
- '8925:8025'
volumes:
rvvup_magento_data_mariadb:
driver: local
rvvup_magento_elasticsearch_data:
driver: local