Repository navigation
Expand file tree
/
Copy pathenv-example
More file actions
84 lines (69 loc) · 3.35 KB
/
Copy pathenv-example
File metadata and controls
84 lines (69 loc) · 3.35 KB
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
# =============================================================================
# Docker Magento - Environment Configuration
# =============================================================================
# Each service variant has its own version + port. Multiple instances can run
# simultaneously (e.g. mysql + mysql80 + mariadb on different ports).
# =============================================================================
# ── Database ──────────────────────────────────────────────────────────────────
# MySQL 8.4 (default) — Magento 2.4.7+
MYSQL_VERSION=8.4
MYSQL_PORT=3306
# MySQL 8.0 (profile: mysql80) — Magento 2.3–2.4.6
MYSQL80_VERSION=8.0
MYSQL80_PORT=3307
# MariaDB 11.4 (profile: mariadb) — Magento 2.4.8+
MARIADB_VERSION=11.4
MARIADB_PORT=3308
# Shared DB credentials (used by all DB services)
MYSQL_DATABASE=magento
MYSQL_USER=magento
MYSQL_PASSWORD=magento
MYSQL_ROOT_PASSWORD=root
# ── Search Engine ─────────────────────────────────────────────────────────────
# OpenSearch 2.x (default) — Magento 2.4.6+
OPENSEARCH_VERSION=2.19.1
OPENSEARCH_PORT=9200
# OpenSearch 1.x (profile: opensearch1) — Magento 2.4.4–2.4.5
OPENSEARCH1_VERSION=1.3.19
OPENSEARCH1_PORT=9201
# Elasticsearch 8.x (profile: elasticsearch) — Magento 2.4.6+
ELASTICSEARCH_VERSION=8.17.0
ELASTICSEARCH_PORT=9202
# Elasticsearch 7.x (profile: elasticsearch7) — Magento 2.3–2.4.5
ELASTICSEARCH7_VERSION=7.17.27
ELASTICSEARCH7_PORT=9203
# ── Cache ─────────────────────────────────────────────────────────────────────
# Redis 7.x (default) — Magento 2.4.6+
REDIS_VERSION=7.4
REDIS_PORT=6379
# Redis 6.x (profile: redis6) — Magento 2.4.0–2.4.5
REDIS6_VERSION=6.2
REDIS6_PORT=6380
# ── Services ──────────────────────────────────────────────────────────────────
RABBITMQ_VERSION=4.1
RABBITMQ_ERLANG_COOKIE=RABBITMQ_ERLANG_COOKIE
RABBITMQ_DEFAULT_USER=admin
RABBITMQ_DEFAULT_PASS=admin
RABBITMQ_MGMT_PORT=15672
VARNISH_VERSION=7.6
# ── PostgreSQL (profile: postgres) ──────────────────────────────────────────────
POSTGRES_VERSION=17
POSTGRES_PORT=5432
POSTGRES_DB=app
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
PGADMIN_PORT=5050
PGADMIN_EMAIL=admin@local.dev
PGADMIN_PASSWORD=admin
# ── MongoDB (profile: mongodb) ────────────────────────────────────────────────
MONGODB_VERSION=7
MONGODB_PORT=27017
MONGODB_USER=root
MONGODB_PASSWORD=root
MONGOEXPRESS_PORT=8082
# ── Web & Tools ───────────────────────────────────────────────────────────────
HTTP_PORT=80
HTTPS_PORT=443
MAILPIT_PORT=8025
PHPMYADMIN_PORT=8080
REDISCMD_PORT=8081