-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-dev.yml
More file actions
35 lines (31 loc) · 763 Bytes
/
compose-dev.yml
File metadata and controls
35 lines (31 loc) · 763 Bytes
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
version: '3.1'
volumes:
db_data:
rabbitmq_data:
rabbitmq_log:
services:
db:
image: mysql:8.0
container_name: "dev_mysql"
restart: always
environment:
- MYSQL_ROOT_PASSWORD=wordsmithdev
- MYSQL_DATABASE=wordsmith
- MYSQL_USER=wordsmithdev
- MYSQL_PASSWORD=wordsmithdev
volumes:
- db_data:/var/lib/mysql
ports:
- 3306:3306
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: 'dev_rabbitmq'
ports:
- 5672:5672
- 15672:15672
environment:
- RABBITMQ_DEFAULT_USER=wordsmithdev
- RABBITMQ_DEFAULT_PASS=wordsmithdev
volumes:
- rabbitmq_data:/var/lib/rabbitmq/
- rabbitmq_log:/var/log/rabbitmq