-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 934 Bytes
/
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
version: '3.3'
services:
cli:
image: php:7.3-cli
working_dir: /app
entrypoint: /bin/bash -c
command: tail /dev/null
volumes:
- .:/app
stdin_open: true
mariadb:
image: mariadb:10.4
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test
MYSQL_USER: test
MYSQL_PASSWORD: test
tmpfs:
- /var/lib/mysql
ports:
- 3306:3306
volumes:
- $PWD/docker/mariadb:/docker-entrypoint-initdb.d
rabbitmq:
image: rabbitmq:3.8
restart: always
environment:
- RABBITMQ_VM_MEMORY_HIGH_WATERMARK=0.5
- RABBITMQ_ERLANG_COOKIE=secret
- RABBITMQ_DEFAULT_USER=test
- RABBITMQ_DEFAULT_PASS=test
- RABBITMQ_DEFAULT_VHOST=/
tmpfs:
- /var/lib/rabbitmq
ports:
- 5672:5672
- 15672:15672
volumes:
- $PWD/docker/rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins