Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: '3'
services:
redis:
image: "redis:alpine"
ports:
- 6379:6379
networks:
- local
rabbit:
image: "rabbitmq:alpine"
tty: true
ports:
- "15672:15672"
- "5672:5672"
volumes:
- ./rabbitmq-isolated.conf:/etc/rabbitmq/rabbitmq.config
networks:
- local
mysql:
image: "mysql:5.7"
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: 12345678
networks:
- local
volumes:
- ./sql/data:/var/lib/mysql
- ./sql/init:/docker-entrypoint-initdb.d/:ro
networks:
local:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.