Created
February 8, 2024 21:52
-
-
Save gauravds/1a93d577de76147ec8a88bf60a88f1a5 to your computer and use it in GitHub Desktop.
docker-compose.yml for mac m1 pro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
redis: | |
image: redis:5-alpine | |
platform: linux/amd64 | |
restart: unless-stopped | |
container_name: redis | |
ports: | |
- '6379:6379' | |
mysql: | |
container_name: mysql | |
image: mysql:8.0.28 | |
command: --default-authentication-plugin=mysql_native_password --sql_mode=NO_ENGINE_SUBSTITUTION | |
restart: always | |
platform: linux/amd64 | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_USER: dbuser | |
MYSQL_PASSWORD: dbuser | |
MYSQL_DATABASE: espocrm | |
ports: | |
- "3306:3306" | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin:latest | |
restart: always | |
platform: linux/amd64 | |
environment: | |
PMA_HOST: mysql | |
PMA_USER: root | |
PMA_PASSWORD: root | |
ports: | |
- "33036:80" | |
# mongo: | |
# image: mongo:4.2.5 | |
# restart: unless-stopped | |
# ports: | |
# - 27017:27017 | |
# environment: | |
# MONGODB_INITDB_ROOT_USERNAME: root | |
# MONGODB_INITDB_ROOT_PASSWORD: root | |
# mongo-express: | |
# image: mongo-express:0.54 | |
# restart: unless-stopped | |
# ports: | |
# - 27027:8081 | |
# environment: | |
# ME_CONFIG_MONGODB_ADMINUSERNAME: root | |
# ME_CONFIG_MONGODB_ADMINPASSWORD: root | |
# kafka: | |
# image: landoop/fast-data-dev:2.6.2 | |
# restart: unless-stopped | |
# container_name: kafka | |
# ports: | |
# - '2181:2181' | |
# - '3030:3030' | |
# - '8081-8083:8081-8083' | |
# - '9581-9585:9581-9585' | |
# - '9092:9092' | |
# environment: | |
# ADV_HOST: '127.0.0.1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment