This file contains 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.8" | |
services: | |
rabbitmq3: | |
container_name: "rabbitmq" | |
image: rabbitmq:3.8-management-alpine | |
environment: | |
- RABBITMQ_DEFAULT_USER=guest | |
- RABBITMQ_DEFAULT_PASS=guest | |
ports: | |
# AMQP protocol port |
This file contains 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.8' | |
services: | |
cache: | |
image: redis:6.2-alpine | |
restart: always | |
ports: | |
- '6379:6379' | |
command: redis-server --save 20 1 --loglevel warning --requirepass 12345 | |
volumes: | |
- cache:/data |
This file contains 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.8' | |
services: | |
db: | |
image: postgres:15.1-alpine | |
restart: always | |
environment: | |
- POSTGRES_USER=postgres | |
- POSTGRES_PASSWORD=12345 | |
ports: | |
- '5432:5432' |
This file contains 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.7' | |
services: | |
mysql: | |
container_name: "my_mysql" | |
build: ./docker/mysql | |
ports: | |
- "3306:3306" | |
volumes: | |
- "./docker_volumes/mysql:/var/lib/mysql" | |
- "./docker_logs/mysql:/var/log/mysql" |